Command Reference Guide

Platform LSF Command Reference 51
bhosts
displays hosts and their static and dynamic resources
Synopsis
bhosts [-e | -l | -w] [-x] [-X] [-R "res_req"]
[host_name | host_group] ...
bhosts [-e | -l | -w] [-X] [-R "res_req"] [cluster_name]
bhosts [-e ] -s [resource_name ...]
bhosts [-h | -V]
Description
By default, returns the following information about all hosts: host name, host status,
job state statistics, and job slot limits.
bhosts displays output for condensed host groups. These host groups are defined
by
CONDENSE in the HostGroup section of lsb.hosts. These host groups are
displayed as a single entry with the name as defined by
GROUP_NAME in the
HostGroup section of lsb.hosts.
The
-l and -X options display uncondensed output.
The
-s option displays information about the numeric resources (shared or
host-based) and their associated hosts.
With MultiCluster, displays the information about hosts available to the local
cluster. Use -e to view information about exported hosts.
Options
-e MultiCluster only. Displays information about resources that have been exported to
another cluster.
-l Displays host information in a (long) multi-line format. In addition to the default
fields, displays information about the CPU factor, the current load, and the load
thresholds.
Also displays information about the dispatch windows.
If you specified an administrator comment with the
-C option of the host control
commands
hclose or hopen, -l displays the comment text.
-w Displays host information in wide format. Fields are displayed without truncation.
For condensed host groups, the
-w option displays the overall status and the
number of hosts with the
ok, unavail, unreach, and busy status in the following
format:
host_group_status num_ok/num_unavail/num_unreach/num_busy
where
host_group_status is the overall status of the host group. If a single host in the
host group is
ok, the overall status is also ok.