Difference between revisions of "Useful Commands"

From NEClusterWiki
Jump to navigation Jump to search
(Created page with "== Useful Commands == * The following command uses ''gstat'' to get a list of nodes by load. It then sorts the list by load/free CPUs and connects you to the node with the mos…")
 
Line 5: Line 5:
 
alias fss='ssh `/opt/ganglia-3.2.0/bin/gstat -p8651 -1a | grep node | sort -gr -k 2 | sort -k 7 | head -n1 | cut -f1 -d" "`'
 
alias fss='ssh `/opt/ganglia-3.2.0/bin/gstat -p8651 -1a | grep node | sort -gr -k 2 | sort -k 7 | head -n1 | cut -f1 -d" "`'
 
</source>
 
</source>
 +
 +
== Other tips ==
 +
 +
* Temperature monitoring: http://nec549362.engr.utk.edu/cgi-bin/temp.cgi

Revision as of 06:32, 12 February 2012

Useful Commands

  • The following command uses gstat to get a list of nodes by load. It then sorts the list by load/free CPUs and connects you to the node with the most free CPUs. The format below is an alias that you can put in your .bashrc file if you want it to be automatically applied to your environment.
alias fss='ssh `/opt/ganglia-3.2.0/bin/gstat -p8651 -1a | grep node | sort -gr -k 2 | sort -k 7 | head -n1 | cut -f1 -d" "`'

Other tips