defs_ls_info
define statements used by ls_info. More...
Defines
#define RESF_BUILTIN 0x01 #define RESF_DYNAMIC 0x02 #define RESF_GLOBAL 0x04 #define RESF_SHARED 0x08 #define RESF_LIC 0x10 #define RESF_EXTERNAL 0x20 #define RESF_RELEASE 0x40 #define RESF_DEFINED_IN_RESOURCEMAP 0x80 #define RESF_NON_CONSUMABLE 0x100 #define RESF_REDEFINABLE 0x200 #define RESF_ESRES 0x400 #define RESF_MEGA_CRITERIA 0x800 #define RESF_APPEARS_IN_RESOURCEMAP 0x8000 Enumerations
enum valueType { LS_BOOLEAN, LS_NUMERIC, LS_STRING, LS_EXTERNAL } enum orderType { INCR, DECR, NA } Detailed Description
define statements used by ls_info.Define Documentation
#define RESF_BUILTIN 0x01 Indicate whether this resource is builtin to LSF or configured by the LSF administrator (external).
#define RESF_DYNAMIC 0x02 Indicate whether the value of this resource can change dynamically or is static.
Information about dynamic resources for a host can be retrieved through ls_load. Information about static resources can be retrieved through ls_gethostinfo.
#define RESF_GLOBAL 0x04 Indicate whether the resource name is defined for every host in the cluster.
The value of the resource is specific to each host. This type of resource is also called a non-shared resource.
#define RESF_SHARED 0x08 Indicate whether the resource is a shared resource.
A shared resource is a resource whose value is shared by more than one host, and the resource may be defined only on a subset of the hosts.
The interval component applies to resources with dynamic values. It indicates how frequently (in seconds) the resource value is evaluated.
The set of host types hostTypes in the lsInfo structure is a list of all defined host architectures in the cluster. All machines that can run the same binaries are generally considered to be of the same host type.
The set of host models hostModels in lsInfo structure is a list of all defined computer models in the cluster. Generally, machines of the same host type that have exactly the same performance characteristics are considered to be the same model.
#define RESF_LIC 0x10 License static value.
#define RESF_EXTERNAL 0x20 External resource defined.
#define RESF_RELEASE 0x40 Resource can be released when job is suspended.
#define RESF_DEFINED_IN_RESOURCEMAP 0x80 Set if resource seen in.
Resourcemap
#define RESF_NON_CONSUMABLE 0x100 Resource can be reserved with rusage.
#define RESF_REDEFINABLE 0x200 Builtin resource that can be redefined in the cluster file.
#define RESF_ESRES 0x400 Resources collected by External static lims.
#define RESF_MEGA_CRITERIA 0x800 Resources can be megahost criteria.
#define RESF_APPEARS_IN_RESOURCEMAP 0x8000 Resource is configured in Resourcemap.
Enumeration Type Documentation
enum valueType
enum orderType
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.