IBM

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)

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.
Data Structures:
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
jobProvisionEndLog
Define Statements:
event_types
defs_lsb_XF_OP
jobgroup_controltypes
signal_action
Returns:
int:0
The function was successful, and the information of eventRec structure has been put into log file pointed by log_fp

int:-1
Function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line commands:
none
Files:
$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.