IBM

lsb_queueinfo

Returns information about batch queues.

lsb_queueinfo gets information about batch queues. See lsb.queues for more information about queue parameters.

#include <lsf/lsbatch.h>

struct queueInfoEnt *lsb_queueinfo(char **queues, int *numQueues, char *hosts, char *users, int options)

Parameters:
**queues An array of names of queues of interest.
*numQueues The number of queue names. To get information on all queues, set *numQueues to 0; *numQueues will be updated to the actual number of queues when this call returns.If *numQueues is 1 and queues is NULL, information on the system default queue is returned.
*hosts The host or cluster names. If hosts is not NULL, then only the queues that are enabled for the hosts are of interest.
*user The name of user. If user is not NULL, then only the queues that are enabled for the user are of interest.
options Reserved for future use; supply 0.
Data Structures:
queueInfoEnt
shareAcctInfoEnt
apsFactorInfo
apsFactorMap
apsLongNameMap
Define Statements:
queue_status
queue_attribute
Returns:
struct queueInfoEnt *:
An array of queueInfoEnt structures which stores the queue information and sets numQueues to the size of the array.
Function was successful.

NULL
Function Failed.

Errors:
If the function fails, lsberrno is set to indicate the error. If lsberrno is LSBE_BAD_QUEUE, (*queues)[*numQueues] is not a queue known to the LSF system. Otherwise, if *numQueues is less than its original value, *numQueues is the actual number of queues found.
Equivalent line commands:
bqueues
Files:
$LSB_CONFDIR/cluster_name/configdir/lsb.queues
See also:
lsb_hostinfo

lsb_userinfo

lsb_usergrpinfo



     
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.