ls_unlockhost
Unlocks a locked local host.ls_unlockhost unlocks a host locked by ls_lockhost. On success, ls_unlockhost changes the status of the local host to indicate that it is no longer locked by the user.
Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.
#include <lsf/lsf.h>
int ls_unlockhost(void)
Data Structures:
- Parameters:
none Define Statements:
- none
- none
Errors:
- Returns:
- int:0
The function was successful.int:-1
The function failed.Equivalent line commands:
- If the function fails, lserrno is set to indicate the error. In particular, ls_unlockhost sets lserrno to LSE_LIM_NLOCKED if the host is not locked.
Files:
- lsadmin limunlock
- ${LSF_ENVDIR:-/etc}/lsf.conf
$LSF_CONFDIR/lsf.shared
$LSF_CONFDIR/lsf.cluster.cluster_name
- See also:
- ls_limcontrol
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.