IBM

ls_getclustername

Returns the name of the local load sharing cluster.

This routines provides access to LSF cluster configuration information. ls_getclustername returns the name of the local load sharing cluster defined in the configuration files.

#include <lsf/lsf.h>
char *ls_getclustername(void)

Parameters:
none 
Data Structures:
none
Define Statements:
none
Returns:
char *:A pointer to cluster name.
Function 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_info

ls_getmastername

ls_getmodelfactor



     
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.