lsb_puteventrec
Puts information of an eventRec structure pointed to by logPtr into a log file.lsb_puteventrec puts information of an eventRec structure pointed to by logPtr into a log file. log_fp is a pointer pointing to the log file name that could be either event a log file or job log file.
See lsb_geteventrec for detailed information about parameters.
#include <lsf/lsbatch.h>
int lsb_puteventrec(FILE *log_fp, struct eventRec *logPtr)
Data Structures:
- Parameters:
*logPtr The eventRec structure pointed to by logPtr into a log file. *log_fp A pointer pointing to the log file name that could be either event a log file or job log file. 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:
- int:0
The function was successful, and the information of eventRec structure has been put into log file pointed by log_fpint:-1
Function failed.Equivalent line commands:
- If the function fails, lsberrno is set to indicate the error.
Files:
- none
- $LSB_SHAREDIR/cluster_name/logdir/lsb.events
- See also:
- lsb_geteventrec
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.