Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

ls_gethosttype()

Returns the type of the specified host.

DESCRIPTION

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.

SYNOPSIS

#include <lsf/lsf.h> 
char *ls_gethosttype(char *hostname) 

PARAMETERS

*hostname

The host whose type is to be determined.

RETURN VALUES

char

Function was successful.

char:NULL

Function failed.

ERRORS

If the function fails, lserrno is set to indicate the error.

SEE ALSO

Related APIs

ls_gethostfactor()

ls_gethostmodel()

ls_gethostinfo()

Equivalent line command

none

Files

$LSF_CONFDIR/lsf.shared

$LSF_CONFDIR/lsf.cluster.cluster_name


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next