lsb_hostcontrol
Opens or closes a host, or restarts or shuts down its slave batch daemon.lsb_hostcontrol opens or closes a host, or restarts or shuts down its slave batch daemon. Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.
To restart the master batch daemon, mbatchd, in order to use updated batch LSF configuration files, use lsb_reconfig.
#include <lsf/lsbatch.h>
int lsb_hostcontrol (struct hostCtrlReq *req)
Data Structures: Define Statements:
- Parameters:
*req The host control request. Errors:
- Returns:
- int:0
The function was successful.int:-1
Function failed.Equivalent line commands:
- If the function fails, lsberrno is set to indicate the error.
Files:
- none
- ${LSF_ENVDIR:-/etc}/lsf.conf
- See also:
- lsb_reconfig
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.