lsb_hostpartinfo
Returns informaton about host partitions.#include <lsf/lsbatch.h>
struct hostPartInfoEnt *lsb_hostpartinfo (char **hostParts, int *numHostParts)
Data Structures: Define Statements:
- Parameters:
**hostParts An array of host partition names. *numHostHosts The number of host partition names. To get information on all host partitions, set hostParts to NULL; *numHostParts will be the actual number of host partitions when this call returns.
- none
Errors:
- Returns:
- struct hostPartInfoEnt *:hostPartInfoEnt
On success, returns an array of hostPartInfoEnt structures which hold information on the host partitions, and sets *numHostParts to the number of hostPartInfoEnt structures.NULL
Function failed.Equivalent line commands:
- If the function fails, lsberrno is set to indicate the error. If lsberrno is LSBE_BAD_HPART, (*hostParts)[*numHostParts] is not a host partition known to the LSF system. Otherwise, if *numHostParts is less than its original value, *numHostParts is the actual number of host partitions found.
Files:
- none
- $LSB_CONFDIR/cluster_name/configdir/lsb.hosts
- See also:
- lsb_usergrpinfo
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.