ls_gethosttype
Returns the type of the specified host.This routine obtains static resource information about hosts.Static resources include configuration information as determined by LSF configuration files (see lsf.shared and lsf.cluster) as well as others determined automatically by LIM at start up.
ls_gethosttype returns the type of the specified host. This routine returns a pointer to dynamically allocated data structures which can be freed in subsequent calls.
#include <lsf/lsf.h>
char *ls_gethosttype(char *hostname)
Data Structures:
- Parameters:
*hostname The host whose type is to be determined. Define Statements:
- none
- none
Errors:
- Returns:
- char *:The host type.
Function was successful.NULL
Function failed.Equivalent line commands:
- If the function fails, lserrno is set to indicate the error.
Files:
- none
- $LSF_CONFDIR/lsf.shared
$LSF_CONFDIR/lsf.cluster.cluster_name
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.