sge-node-selection (1) Linux Manual Page
busy-nodes, idle-nodes, dead-nodes, nodes-in-job, qselect-node-list – List xxQS_NAMExx node names by various criteria
Synopsis
busy-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 …
Description
busy-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.Options
- -h,–help
- Print usage information.
- -w
- Print the output in a form compatible with the -w argument of
Examples
The 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`
