LSF provides commands for users to access information about the cluster.
To view the ... |
Run ... |
---|---|
Version of LSF |
lsid |
Cluster name |
lsid |
Current master host |
lsid |
Cluster administrators |
lsclusters |
Configuration parameters |
bparams |
LSF system runtime information |
badmin showstatus |
lsid
IBM Platform LSF Standard 9.1.2, May 5 2013
© Copyright IBM Corporation 1992, 2013.
US Governmant Users Restricted Rights - Use, duplication or disclosure restricted
by GSA ADP Schedule Contract with IBM Corp.
My cluster name is lsf91_bw3
My master name is delpe04.lsf.ibm.com
lsclusters
CLUSTER_NAME STATUS MASTER_HOST ADMIN HOSTS SERVERS
cluster1 ok hostA lsfadmin 6 6
If you are using the LSF MultiCluster product, you can see one line for each of the clusters that your local cluster is connected to in the output of lsclusters.
Log on to a server host.
Show mbatchd configuration:
badmin showconf mbd
MBD configuration at Fri Jun 8 10:27:52 CST 2011
LSB_SHAREDIR=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/dev/lsf/user1/0604/conf
LSF_EGO_DAEMON_CONTROL=N
...
Show sbatchd 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=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/dev/lsf/user1/0604/conf
LSF_EGO_DAEMON_CONTROL=N
,,,
Show sbatchd configuration for all hosts:
badmin showconf sbd all
SBD configuration for host <hosta> at Fri Jun 8 10:27:52 CST 2011
LSB_SHAREDIR=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/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=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/dev/lsf/user1/0604/conf
LSF_EGO_DAEMON_CONTROL=N
...
Show lim configuration:
lsadmin showconf lim
LIM configuration at Fri Jun 8 10:27:52 CST 2010
LSB_SHAREDIR=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/dev/lsf/user1/0604/conf
LSF_EGO_DAEMON_CONTROL=N
...
Show lim 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=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/dev/lsf/user1/0604/conf
LSF_EGO_DAEMON_CONTROL=N
...
Show lim configuration for all hosts:
lsadmin showconf lim all
LIM configuration for host <hosta> at Fri Jun 8 10:27:52 CST 2011
LSB_SHAREDIR=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/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=/scratch/dev/lsf/user1/0604/work
LSF_CONFDIR=/scratch/dev/lsf/user1/0604/conf
LSF_LOG_MASK=LOG_WARNING
LSF_ENVDIR=/scratch/dev/lsf/user1/0604/conf
LSF_EGO_DAEMON_CONTROL=N
...
% 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