IBM

lsb_limitInfo

gets resource allocation limit configuration and dynamic usage information.

Displays current usage of resource allocation limits configured in Limit sections in lsb.resources:

#include <lsf/lsbatch.h>

int lsb_limitInfo( limitInfoReq *req, limitInfoEnt **limitItemRef, int *size, struct lsInfo* lsInfo)

Parameters:
*req input, the user request for limit information
**limitItemRef output, the limit information array
*size output, the size of the limit information array
*lsInfo Please refer to the lsInfo structure.
Data Structures:
_limitInfoReq
_limitConsumer
_limitInfoEnt
_limitItem
_limitResource
Define Statements:
_consumertype
Returns:
int:socket number
Function was successful.

int:-1
Function failed.

Errors:
On failure, lsberrno is set to indicate the error.
Equivalent line command:
blimits
Files
$LSB_CONFDIR/cluster_name/configdir/lsb.queues
$LSB_CONFDIR/cluster_name/configdir/lsb.users
$LSB_CONFDIR/cluster_name/configdir/lsb.hosts
$LSB_CONFDIR/cluster_name/configdir/lsb.resources
See also:
lsb_freeLimitInfoEnt


     
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.