| Parses hosts file - only will ask hosts that have an acme service
Generates table like :
Time, sv023-CPU_0,sv023-CPU_1,sv023-CPU_2
18:27:09, 0.0, 1.0, 0.0
18:27:14, -0, -0, -0
(-0 indicates no top data at that time at that host)
Numbers represent percentage CPU usage.
Arguments : number of samples, seconds between samples, and host file to get hosts from
Typical Usage :
java -classpath albbn.jar org.cougaar.logistics.plugin.utils.TopRunnerFromHosts 2 5 $CIP/operator/s1-hosts.xml > results.csv
(Here it asks for 2 samples, 5 seconds apart, reading from the s1-hosts.xml file.)
|