Thanks Rajith, What command line are you talking about -- are you building a CLI for the Ganglia extensions? And would this be part of the Resmgr command line?
Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.a.mattm...@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Rajith Siriwardana <rajithsiriward...@gmail.com> Date: Sunday, June 16, 2013 11:17 AM To: jpluser <chris.a.mattm...@jpl.nasa.gov>, jpluser <chris.mattm...@gmail.com>, dev <dev@oodt.apache.org> Subject: [Ganglia plugin OODT-219] Command line presentation (draft) >Following draft categorization, shows how the CLI commands and responses >should be implemented.Grid info: > >* args: gmetad host, port, ³--gridinfo² /³--summary² > > > > >* response : > > >summarized clusters: per cluster (name, owner, latitude & longitude, >online Nodes, offline Nodes) > > >Cluster info: > > >* args : gmetad host, port, ³--clusterinfo -name <cluster > name>² > > >(multiple clusters may be there by the same name, in that case all the >same name clusters) > > >* response: >Cluster name, owner, latitude & longitude, url, > local time >Total CPUs, Total Disk, Total Memory >summarized Nodes : per node (name, IP,location, offline/online, > load, memory_free, disk_free) > > >(We can say a particular Node is offline by TN > and TMAX value. gmetad, a host is considered offline and is ignored if >TN > 4 * TMAX. >source: >http://entropy.gforge.inria.fr/ganglia.html) >TN : > TN > value is the number of seconds since the metric was last updated >TMAX: >The maximum time in seconds between gmetric calls > > > >Node info: >From Node ID and ip we should be able to get status of a > node. I guess OODT ³Node Id² and the ganglia "host name" are the same. > >* args:gmetad host, port, ³-nodeId <node id>² >* args:gmetad host, port, ³-nodeurl <node url>² >* response: Node > info: Name, IP,(online/offline), reported, location, gmond started, all >32 default metrics + added metrics > > > >Suggestions and your advices are warmly welcome. > > >Thank you, >Rajith >