bmgroup

bmgroup

displays information about host groups

Synopsis

bmgroup [-r][-l][-w] [host_group ...]

bmgroup [-h -V]

Description

Displays host groups and host names for each group.

By default, displays information about all host groups including host groups created for EGO-enabled SLA scheduling. A host partition is also considered a host group.

Host groups for EGO-enabled SLA

When hosts are allocated to an EGO-enabled SLA, they are dynamically added to a host group created by the SLA. The name of the host group is _sla_sla_name, where sla_name is the name of the EGO-enabled SLA defined in lsb.serviceclasses or in ENABLE_DEFAULT_EGO_SLA in lsb.params. One of the hosts in the host group has the name _virtual.

When the host is released to EGO, the entry is removed from the host group. bmgroup displays the hosts allocated by EGO to the host group created by the SLA.

Options

-lDisplays static and dynamic host group members. A ‘+’ sign before the host name indicates that the host is dynamic and is currently a member of the host group. A ‘-’ sign before the host name indicates that the host is currently not an LSF host but is a member of the dynamic host group.

Also identifies condensed host groups. These host groups are defined by CONDENSE in the HostGroup section of lsb.hosts.

-rExpands host groups recursively. The expanded list contains only host names; it does not contain the names of subgroups. Duplicate names are listed only once.

-wWide format. Displays host and host group names without truncating fields.

host_group ... Only displays information about the specified host groups. Do not use quotes when specifying multiple host groups.

-hPrints command usage to stderr and exits.

-VPrints LSF release version to stderr and exits.

Output

In the list of hosts, a name followed by a slash (/) indicates a subgroup.

Files

Host groups and host partitions are defined in the configuration file lsb.hosts(5).

114Platform LSF Command Reference