Visit Platform at http://www.platform.com

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)

Parameters:
*req The host control request.
Data Structures:
hostCtrlReq
Define Statements:
host_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_reconfig


     
Date Modified: 9 Sep 2009
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2009 Platform Computing Corporation. All rights reserved.