pcp
[Top] [All Lists]

pmcollectl command line options

To: Stan Cox <scox@xxxxxxxxxx>
Subject: pmcollectl command line options
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 27 Aug 2012 22:48:00 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1622392315.1795702.1346122077717.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Hi Stan,

I added a man page for pmcollectl today, be great if you could
check it out and fix the many mistakes I've no doubt made.  I
also noticed a note in the man page re the original tool being
called "collect", and "collectl" being a Linux-specific version.
You might want to consider the name "pmcollect".  Or not.  :)

I used the collectl man page as a starting point (licenses are
all nicely compatible, and copyrights intact), and found several
options that could be easily implemented by a relatively skilled
python wrangler.

live:
--align (same as -A option to PCP tools - see pmParseTimeWindow)
--daemon (seems to set a time interval of 10sec - probably worth
  keeping for generating archive mode)
--flush (looks equivalent to sending SIGUSR1 to the pmlogger co-
  process)
--runtime (same as -T option to PCP tools - see pmParseTimeWindow)

playback:
--from (same as -S option to PCP tools - see pmParseTimeWindow)
--thru (same as -T option to PCP tools - see pmParseTimeWindow)

I've left these options in the man page, but commented out in case
you/someone else is keen to hack on 'em further.  Oh, I also found
a missing synonym for -c (easily added, done), and also -s (not so
sure how best to tackle that, so left a comment about --subsys).

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>
  • pmcollectl command line options, Nathan Scott <=