umich.cac.pbs
Class KRecord
java.lang.Object
umich.cac.pbs.KRecord
- All Implemented Interfaces:
- PbsRecordParser
- public class KRecord
- extends java.lang.Object
- implements PbsRecordParser
Process the K record, "K" record in PBSPro. Note there is a bug
in the current version where "K" and "k" are the same record.
This option is specific to PBSPro, on linux
An example from PBS accounting file is below
4/01/2003 12:54:23;K;R1686.hypnos;requestor=root@hypnos
- Version:
- $Header: /cvsroot/pbsaccounting/pbsaccounting/doc/javadoc/umich/cac/pbs/KRecord.html,v 1.5 2003/10/21 20:33:47 rodmach Exp $
- Author:
- rmach@umich.edu
Method Summary |
java.lang.String |
processRecord(java.lang.String[] rawfields)
Return the XML representation of an K record, inside <k_record>
tags. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KRecord
public KRecord()
processRecord
public java.lang.String processRecord(java.lang.String[] rawfields)
- Return the XML representation of an K record, inside <k_record>
tags.
- Specified by:
processRecord
in interface PbsRecordParser
- Parameters:
rawfields
- Array from PBS containing the K record
- Returns:
- The K record converted to XML