The following example shows the output from the bhosts command:
$ bhosts |
|
|
|
|
|
|
|
|
HOST_NAME | STATUS JL/U | MAX | NJOBS RUN SSUSP USUSP RSV | |||||
lsfhost.localdomain | ok | - | 16 | 0 | 0 | 0 | 0 | 0 |
Of note in the bhosts output:
•The HOST_NAME column displays the name of the LSF execution host.
•The MAX column displays the total processor count (usable CPUs) of all available computer nodes in the lsf partition.
•The STATUS column shows the state of LSF and displays a status of either ok or closed.
•The NJOBS column displays the number of jobs.
7.3.2Getting Information About LSF-HPC Execution Host Node
The lshosts command displays resource information about the
LSF daemons run on only one node in the HP XC system, so the lshosts command will list one host — which represents all the resources of the HP XC system. The total number of processors for that host should be equal to the total number of processors assigned to the SLURM lsf partition.
By default, lshosts returns the following information: host name, host type, host model, CPU factor, number of CPUs, total memory, total swap space, server information, and static resources.
The following example shows the output from the lshosts command:
$ lshosts |
|
|
|
|
|
|
|
|
HOST_NAME | type | model | cpuf ncpus maxmem maxswp server | RESOURCES | ||||
lsfhost.loc | SLINUX6 | Itanium2 16.0 | 12 | 3456M | - | Yes | (slurm) | |
n7 | UNKNOWN | UNKNOWN_ | 1.0 | - | - | - | No | () |
n8 | UNKNOWN | UNKNOWN_ | 1.0 | - | - | - | No | () |
n2 | UNKNOWN | UNKNOWN_ | 1.0 | - | - | - | No | () |
Of note in the lshosts output:
•The HOST_NAME column displays the name of the
•The ncpus column displays the total processor count (usable CPUs) of all available computer nodes in the lsf partition.
•The maxmem column displays minimum maxmem over all available computer nodes in the lsf partition.
•The maxtmp column (not shown) displays minimum maxtmp over all available computer nodes in the lsf partition. Use the lshosts
7.3.3Getting Host Load Information
The LSF lsload command displays load information for LSF execution hosts.
$ lsload |
|
|
|
|
|
|
|
|
|
|
|
HOST_NAME | status | r15s | r1m | r15m | ut | pg | ls | it | tmp | swp | mem |
lsfhost.loc | ok | - | - | - | - | - | 4 | - | - | - | - |
In the previous example output, the LSF execution host (lsfhost.localdomain) is listed under the HOST_NAME column. The status is listed as ok, indicating that it can accept remote jobs. The ls column shows the number of current login users on this host.