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)
Data Structures: Define Statements:
- Parameters:
*more Number of job records in the master batch daemon. Errors:
- Returns:
- struct jobInfoEnt *:A pointer to job information entry.
Function was successful.NULL
Function failed.Equivalent line commands:
- If there are no more records, then lsberrno is set to LSBE_EOF.
Files:
- none
- $LSB_CONFDIR/cluster_name/configdir/lsb.queues
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.