On Wed, Dec 20, 2000 at 10:37:47AM +1100, Mark Goodwin wrote:
>
> You can use the "trace" PCP agent to do this. The documentation
> is in the following man pages:
> pmdatrace(1) - the PCP agent
> pmdatrace(3) - the libpcp_trace API (for instrumenting C or fortran)
> pmtrace(1) - the pmtrace command (for instrumenting shell scripts)
>
Wow, this is great. I've been parsing the output of 'bjobs', feeding it
into 'gnuplot' to create plots of the number of jobslots in
use/pending/suspended in the various batch queus in LSF. Doing the same
thing with PCP and PBS was done in minutes. I just created a small
(attached) shellscript to feed PMCD with the data, and opened up 'pmchart'.
I just have one small question.. How can I delete a value ("Hello World")
exported to the trace.observe metrics?
-jf
--
Jan-Frode Myklebust, Para//ab, High Performance Computing Center
|