A number of commands often
require you to specify host names. You can now specify host name ranges
instead. You can use condensed notation with the following commands:
bacct
bhist
bjobs
bmig
bmod
bpeek
brestart
brsvadd
brsvmod
brsvs
brun
bsub
bswitch
You must specify a valid range of hosts,
where the start number is smaller than the end number.
Procedure
Run the command you want and specify the host names as
a range.
For example:
bsub -m "host[1-100].corp.com"
The job is submitted to host1.corp.com, host2.corp.com, host3.corp.com,
all the way to host100.corp.com.
Run the command you want and specify host names as a combination
of ranges and individuals.
For example:
bsub
-m "host[1-10,12,20-25].corp.com"
The job is submitted to host.1.corp.com, host2.corp.com, host3.corp.com,
up to and including host10.corp.com. It is also
submitted to host12.corp.com and the hosts between
and including host20.corp.com and host25.corp.com.