Restart nodes: Difference between revisions
From MDWiki
Jump to navigationJump to search
(New page: == Restarting only nodes without jobs == If there is a need to restart specific nodes it can be done by: <code> <pre> sudo cexec 'if ! ( ps lax | grep mom | grep -v grep | grep spool ); t...) |
(No difference)
|
Latest revision as of 02:05, 23 September 2008
Restarting only nodes without jobs
If there is a need to restart specific nodes it can be done by:
sudo cexec 'if ! ( ps lax | grep mom | grep -v grep | grep spool ); then shutdown -r now; fi'