Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

glb_jobinfo()

Returns an array of running jobs that are using license tokens and licenses.

DESCRIPTION

glb_jobinfo() returns an array of glbJob structures, which contains information on each job that is using a license token and a license from the license server. Each job is either an LSF batch job or a taskman-controlled application.

SYNOPSIS

#include <glb/glb.h> 
struct glbJob *glb_jobinfo(int *njobs)

struct glbJob {
    char *jobid;
    char *client;
    char *user;
    char *host;
    char *cluster;
    int starttime;
    int status;
    int nSpec;
    struct glbJobSpec *jobSpec;
}; 

PARAMETERS

*njobs

The number of jobs that are currently in the system. This parameter is used as a return value.

RETURN VALUES

*glbJob:

An array of running jobs currently using license tokens and licenses from the license server.

ERRORS

On failure, glberrno is set to indicate the error.

SEE ALSO

Related APIs

glb_info() - Returns an array of license features information

glb_param() - Returns an array of parameters of the specified License Scheduler daemon

glb_perror() - Prints LSF License Scheduler error messages

glb_userinfo() - Returns an array of users that are using license tokens and licenses

glb_workloadinfo() - Returns an array of workload distribution information


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next