sge-node-selection (1) - Linux Man Pages
sge-node-selection: List xxQS_NAMExx node names by various criteria
busy-nodes, idle-nodes, dead-nodes, nodes-in-job, qselect-node-list - List xxQS_NAMExx node names by various criteria
SYNOPSISbusy-nodes [-w] [-h|--help]
idle-nodes [-w] [-h|--help]
dead-nodes [-w] [-h|--help]
nodes-in-job [-w] [-h|--help] jobid
qselect-node-list [-h|--help] qselect_arg ...
DESCRIPTIONbusy-nodes, idle-nodes, and dead-nodes respectively list xxQS_NAMExx nodes which are: busy with one or more jobs, idle (without a job running), and "dead" (their xxQS_NAMExx exec daemon is not responding). nodes-in-job list nodes which are running the given jobid (presumably a parallel one). qselect-node-list runs with the given arguments. The node list is printed one node per line unless the -w option is used.
- Print usage information.
- Print the output in a form compatible with the -w argument of
EXAMPLESThe following would reboot all idle nodes. (It is actually preferable to submit a job to reboot nodes, to avoid a race with job further submission.)
- pdsh -w `idle-nodes -w` reboot
The following would run selecting only nodes in job number "123".
- qhost `nodes-in-job 123`
AUTHORDave Love <d.love [at] liverpool.ac.uk>