IBM

jobStatusLog Struct Reference

Logged when a job's status is changed. More...


Data Fields

int jobId
int jStatus
int reason
int subreasons
float cpuTime
time_t endTime
int ru
struct lsfRusage lsfRusage
int jFlags
int exitStatus
int idx
int exitInfo
int numhRusages
struct hRusagehostRusage
int maxMem
int avgMem
char * srcCluster
LS_LONG_INT srcJobId
char * dstCluster
LS_LONG_INT dstJobId
int maskedJStatus
int nextStatusNo

Detailed Description

Logged when a job's status is changed.

Use this new data structure to parse job status log from LSF8.0


Field Documentation

The unique ID for the job.

The job status (see lsb_readjobinfo ).

The reason the job is pending or suspended (see lsb_pendreason and lsb_suspreason ).

The load indices that have overloaded the host (see lsb_pendreason and lsb_suspreason ).

The CPU time consumed before this event occurred.

The job completion time.

Boolean indicating lsfRusage is logged.

Resource usage statistics The lsfRusage structure is defined in <lsf/lsf.h>.

Note that the availability of certain fields depends on the platform on which the sbatchd runs. The fields that do not make sense on the platform will be logged as -1.0.

Job exit status.

Job's exit status.

Job array index; must be 0 in JOB_NEW.

Job termination reason, see <lsf/lsbatch.h>.

The number of host based rusage entries, only logged in case of JOB_STAT_DONE/JOB_STAT_EXIT.

Host based rusage list, one item per host, only logged in case of JOB_STAT_DONE/JOB_STAT_EXIT.

job maximum memory usage

job average memory usage

source cluster name

source job ID

target cluster name

target job ID

masked jStatus by MASK_INT_JOB_STAT

next status number for statusUpd in MC/XL



     
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.