IBM

lsb_writestatus

Writes a current version eventRec structure into the lsb_status file.

lsb_writestatus writes an eventrRec to the open statusFile. This API function is inside liblsbstream.so.

#include <lsf/lsbatch.h>

int lsb_writestatus(struct eventRec *logPtr)

Parameters:
*logPtr Pointer to the eventRec structure.
see lsb_geteventrec for details on the eventRec structure.
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
Define Statements:
event_types
defs_lsb_XF_OP
jobgroup_controltypes
signal_action
Returns:
int:0
The function was successful.

int:-1
The function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line commands:
none
Files:
$LSB_CONFDIR/cluster_name/configdir/lsb.params
See also:
lsb_closestatus

lsb_geteventrec

lsb_openstatus

lsb_puteventrec

lsb_readstatusline

lsb_readstatus



     
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.