Visit Platform at http://www.platform.com

lsb_readjobinfo

Returns the next job information record in mbatchd.

lsb_readjobinfo reads the number of records defined by the more parameter. The more parameter receives its value from either lsb_openjobinfo or lsb_openjobinfo_a. Each time lsb_readjobinfo is called, it returns one record from mbatchd. Use lsb_readjobinfo in a loop and use more to determine how many times to repeat the loop to retrieve job information records.

#include <lsf/lsbatch.h>
#include <time.h>
#include <lsf/lsf.h>

struct jobInfoEnt *lsb_readjobinfo(int *more)

Parameters:
*more Number of job records in the master batch daemon.
Data Structures:
jobInfoEnt
jobExternalMsgReply
jRusage
pidInfo
reserveItem
submit
Define Statements:
job_states
jobgroup_counterIndex
group_nodetypes
Returns:
struct jobInfoEnt *:A pointer to job information entry.
Function was successful.

NULL
Function failed.

Errors:
If there are no more records, then lsberrno is set to LSBE_EOF.
Equivalent line commands:
none
Files:
$LSB_CONFDIR/cluster_name/configdir/lsb.queues
See also:
lsb_openjobinfo

lsb_openjobinfo_a

lsb_closejobinfo

lsb_hostinfo

lsb_pendreason

lsb_queueinfo

lsb_suspreason



     
Date Modified: 30 Jan 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.