lshosts

lshosts

displays hosts and their static resource information

Synopsis

lshosts [-w-l][-R "res_req"] [host_name cluster_name] ...

lshosts -s[resource_name ...]

lshosts [-h -V]

Description

Displays static resource information about hosts.

By default, returns the following information: host name, host type, host model, CPU factor, number of CPUs, total memory, total swap space, whether or not the host is a server host, and static resources. Displays information about all hosts in the cluster. See lsf.cluster.

In MultiCluster job forwarding model, the default behavior is to return the following information: host name, host type, host model, CPU factor, number of CPUs, total memory, total swap space, whether or not the host is a server host, and static resources. Displays information about all hosts in the local cluster and for all hosts in equivalent remote clusters that the local cluster sees. See lsf.cluster(5).

In MultiCluster resource leasing model, returns information about hosts in the local cluster.

The -soption displays information about the static resources (shared or host-based) and their associated hosts.

Options

-lDisplays host information in a long multi-line format. In addition to the default fields, displays additional information, including maximum /tmp space, the number of local disks, the execution priority for remote jobs, load thresholds, run windows, and the license classes used or needed.

-wDisplays host information in wide format. Fields are displayed without truncation.

-R "res_req" Only displays information about the hosts that satisfy the resource requirement expression. For more information about resource requirements, see Administering Platform LSF. The size of the resource requirement string is limited to 512 bytes. LSF supports ordering of resource requirements on all load indices, including external load indices, either static or dynamic.

In MultiCluster, only displays information about the hosts in the local cluster that satisfy the resource requirement expression.

host_name... cluster_name...

Only displays information about the specified hosts. Do not use quotes when specifying multiple hosts.

246Platform LSF Command Reference