IBM

lsb_writestream

Writes a current version eventRec structure into the lsb_stream file.

lsb_writestream writes an eventrRec to the open streamFile. This API function is inside liblsbstream.so.

#include <lsf/lsbatch.h>

int lsb_writestream(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
jobProvisionStartLog
jobProvisionEndLog
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_closestream

lsb_geteventrec

lsb_openstream

lsb_puteventrec

lsb_readstreamline

lsb_streamversion

lsb_readstream



     
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.