Viewing LSF cluster information
Use the lsid, badmin, bparams, and lsclusters commands to find information about the LSF cluster.
Procedure
View | Command |
---|---|
Version of LSF | lsid |
Cluster name | lsid |
Current management host | lsid |
Cluster administrators | lsclusters |
Configuration parameters | bparams |
LSF system runtime information | badmin showstatus |
Viewing LSF version, cluster name, and current management host
Use the lsid command to display the version of LSF, the name of your cluster, and the current management host.
Procedure
lsid
LSF 10.1.0, Jan 5 2016
© Copyright IBM Corp. 1992, 2022.
US Governmant Users Restricted Rights - Use, duplication or disclosure restricted
by GSA ADP Schedule Contract with IBM Corp.
My cluster name is lsf10
My master name is hosta.company.com
Viewing cluster administrators
Use the lsclusters command to find out who your cluster administrator is and see a summary of your cluster.
Procedure
lsclusters
CLUSTER_NAME STATUS MASTER_HOST ADMIN HOSTS SERVERS
cluster1 ok hostA lsfadmin 6 6
If you are using the IBM® Spectrum LSF multicluster capability, you can see one line for each of the clusters that your local cluster is connected to in the output of the lsclusters command.
Viewing configuration parameters
Use the bparams command to display the generic configuration parameters of LSF.
Procedure
Viewing daemon parameter configuration
Use the badmin showconf mbd command and the lsadmin showconf command to show current cluster configuration settings.
Before you begin
Procedure
Example
- Run the badmin showconf mbd command to show the
mbatchd daemon
configuration:
badmin showconf mbd MBD configuration at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ...
- Run the badmin showconf sbd
host_name command to show the sbatchd daemon configuration on a specific host:
badmin showconf sbd hosta SBD configuration for host <hosta> at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF__DAEMON_CONTROL=N ...
- Run the badmin showconf sbd all command to show the
sbatchd daemon configuration for all
hosts:
badmin showconf sbd all SBD configuration for host <hosta> at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ... SBD configuration for host <hostb> at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ...
- Run the lsadmin showconf lim command to show the lim daemon configuration:
lsadmin showconf lim LIM configuration at Fri Jun 8 10:27:52 CST 2010 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ...
- Run the lsadmin showconf lim
host_name command to show the lim daemon configuration for a specific host:
lsadmin showconf lim hosta LIM configuration for host <hosta> at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ...
- Run the lsadmin showconf lim all command to show the lim daemon configuration for all hosts:
lsadmin showconf lim all LIM configuration for host <hosta> at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ... LIM configuration for host <hostb> at Fri Jun 8 10:27:52 CST 2011 LSB_SHAREDIR=/dev/lsf/user1/0604/work LSF_CONFDIR=/dev/lsf/user1/0604/conf LSF_LOG_MASK=LOG_WARNING LSF_ENVDIR=/dev/lsf/user1/0604/conf LSF_EGO_DAEMON_CONTROL=N ...
Viewing runtime cluster summary information
Use the badmin showstatus command to display a summary of the current LSF runtime information.
Procedure
% badmin showstatus
LSF runtime mbatchd information
Available local hosts (current/peak):
Clients: 0/0
Servers: 8/8
CPUs: 14/14
Cores: 50/50
Slots: 50/50
Number of servers: 8
Ok: 8
Closed: 0
Unreachable: 0
Unavailable: 0
Number of jobs: 7
Running: 0
Suspended: 0
Pending: 0
Finished: 7
Number of users: 3
Number of user groups: 1
Number of active users: 0
Latest mbatchd start: Thu Nov 22 21:17:01 2012
Active mbatchd PID: 26283
Latest mbatchd reconfig: Thu Nov 22 21:18:06 2012
mbatchd restart information
New mbatchd started: Thu Nov 22 21:18:21 2012
New mbatchd PID: 27474