lsb_geteventrec
Get an event record from a log filelsb_geteventrec returns an eventRec from a log file.
The storage for the eventRec structure returned by lsb_geteventrec will be reused by the next call.
#include <lsf/lsbatch.h>
struct eventRec *lsb_geteventrec(FILE * log_fp,int * lineNum)
Data Structures:
- Parameters:
*log_fp Either an event log file or a job log file. *lineNum The number of the event record. Define Statements:
- eventRec
eventLog
xFile
jobAttrSetLog
logSwitchLog
dataLoggingLog
jgrpNewLog
jgrpCtrlLog
jgrpStatusLog
jobNewLog
jobModLog
jobStartLog
jobStartAcceptLog
jobExecuteLog
jobStatusLog
sbdJobStatusLog
sbdUnreportedStatusLog
jobSwitchLog
jobMoveLog
chkpntLog
jobRequeueLog
jobCleanLog
jobExceptionLog
sigactLog
migLog
signalLog
queueCtrlLog
hostCtrlLog
hgCtrlLog
mbdStartLog
mbdDieLog
unfulfillLog
jobFinishLog
loadIndexLog
calendarLog
jobForwardLog
jobAcceptLog
statusAckLog
jobMsgLog
jobMsgAckLog
jobOccupyReqLog
jobVacatedLog
jobForceRequestLog
jobChunkLog
jobExternalMsgLog
rsvRes
rsvFinishLog
cpuProfileLog
jobRunRusageLog
slaLog
perfmonLogInfo
perfmonLog
taskFinishLog
eventEOSLog
jobResizeNotifyStartLog
jobResizeNotifyAcceptLog
jobResizeNotifyDoneLog
jobResizeReleaseLog
jobResizeCancelLog
jobResizeLog
jRusage
jobProvisionStartLog
jobProvisionEndLogErrors:
- Returns:
- struct eventRec *:
A pointer to an eventRec which contains information on a job event and updates lineNum to point to the next line of the log file.
Function was successful.NULL
Function failed.If there are no more records, returns NULL and sets lsberrno to LSBE_EOF.Equivalent line commands:
- On failure, lsberrno is set to indicate the error.
Files:
- none
- $LSB_SHAREDIR/cluster_name/logdir/lsb.acct
$LSB_SHAREDIR/cluster_name/logdir/lsb.events
$LSB_SHAREDIR/cluster_name/logdir/lsb.rsv.ids
$LSB_SHAREDIR/cluster_name/logdir/lsb.rsv.state
Date Modified: 16 Jul 2014
Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.