Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

glb_userinfo()

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

DESCRIPTION

glb_userinfo() returns an array of glbUser structures, which contains information on each user that is using a license token and a license from the license server. The license server identifies users by the identifier user_name@host_name.

SYNOPSIS

#include <glb/glb.h> 
struct glbUser *glb_userinfo(int *nusers, int *lmstatIntvl)

struct glbUser {
    char *feature;
    char *serviceDomain;
    char *name;
    char *host;
    char *version;
    char *vendor;
    int ndisplays;
    char **display;
    int numlics;
    char *checkoutTime;
    int handle;
    int ntasks;
    char *client;
    int nonglb;
    int nTotalLic;
}; 

PARAMETERS

*nusers

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

*lmstatIntvl

The current lmstat interval. This parameter is used as a return value.

RETURN VALUES

*glbUser:

An array of users 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_jobinfo() - Returns an array of running jobs that are using license tokens and licenses

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

glb_perror() - Prints LSF License Scheduler error messages

glb_workloadinfo() - Returns an array of workload distribution information


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