Over the past couple of months, I've been working on PCP Graph - a utility
which generates graphs from PCP log files based on a config file. The
resulting graph looks much like rrdtool generated graphs, but the data
source is the (superior ;) ) PCP archive.
The code is still missing many important features, but I wanted to get it
out there so people could play with it. It requires Cairo and Pango.
Currently, it supports:
- line graphs
- area plots (stacked, and just overlayed)
- heatmaps
- histograms
- arbitrary arithmetic (infix notation)
Here are some (very simple) sample config files along with the output (the
area and heapmap graphs were generated using an older version of the code
and that's why they have the raw sample timestamp; that has since been
changed and all generated graphs get the nice looking timestamps that the
line example has):
http://31bits.net/projects/pcp-graph/
The code is available under GPLv2.
Here's the repo information:
git://oss.sgi.com/jeffpc/pcp-graph.git
http://oss.sgi.com/cgi-bin/gitweb.cgi?p=jeffpc/pcp-graph.git;a=summary
Feedback (and patches) are welcomed.
Jeff.
--
I already backed up the [server] once, I can do it again.
- a sysadmin threatening to do more frequent backups
|