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: 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.