IBM

lsb_queuecontrol

Changes the status of a queue.

lsb_queuecontrol changes the status of a queue.

Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.

If a queue is inactivated by its dispatch window (see lsb.queues), then it cannot be re-activated by this call.

#include <lsf/lsbatch.h>

int lsb_queuecontrol (struct queueCtrlReq *req)

Parameters:
*req queue control request.
Data Structures:
queueCtrlReq
Define Statements:
queue_ctrl_option
Returns:
int:0
The function was successful.

int:-1
Function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line commands:
none
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
lsb_queueinfo


     
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.