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

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)

Parameters:
*hostname The host whose type is to be determined.
Data Structures:
none
Define Statements:
none
Returns:
char *:The host type.
Function was successful.

NULL
Function failed.

Errors:
If the function fails, lserrno is set to indicate the error.
Equivalent line commands:
none
Files:
$LSF_CONFDIR/lsf.shared
$LSF_CONFDIR/lsf.cluster.cluster_name
See also:
ls_gethostfactor

ls_gethostmodel

ls_gethostinfo



     
Date Modified: 30 Jan 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.