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
|