Platform Analytics 7 Dataflow

LSF bjobs loader

LSF API being called for bjobs loader:

int lsb_init(char *appname); Initializes the LSF batch library (LSBLIB), and obtains the configuration environment.

struct jobInfoHead *lsb_openjobinfo_a(LS_LONG_INT jobId, char *jobName, char *userName, char *queueName, char *hostName, int options); This is similar to calling the bjobs -a command.

struct jobInfoEnt *lsb_readjobinfo(int *more); Returns the next job information record in mbatchd.