gquery: A tool for getting sorted lists of cluster nodes
September 28, 2009by John Schanck (jms07)
I wrote a little script that uses ganglia (The cluster monitoring toolkit which was already installed on the cluster) to generate lists of nodes sorted in order of lowest cpu usage. It can also sort by memory free and several other metrics.
Example usage (Get 10 nodes, sorted by lowest cpu usage):
[jms07@fly ~]$ ./gquery -c 10
compute-0-2
compute-0-3
compute-0-4
compute-0-5
compute-0-6
compute-0-7
compute-0-8
compute-0-9
compute-1-5
compute-1-10
Changelog
Tarball
Git: git://anomos.info/~john/ClusterSupport
-John