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: 28 Jun 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com
Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.