Text Processing

sar2rrd

Submitted by doug on Fri, 2007-04-27 07:25.System management | Text Processing

sar2rrd.pl is a Perl script that can be used to generate RRDTool graphs from sar output.

Thu, 2006-11-30 07:00

Stable

sar2rrd.pl is a Perl script that can be used to generate RRDTool graphs from sar output.

It creates a PNG Graph for each statistics group collected by sar. Version 2.0 handles both Linux and Solaris sar output. Each statistics of the group is represented as a single line in the graph.

Only the filename to parse is mandatory. This filename if produced by a command such as "sar -A -f filename"

Without any additional parameters, sar2rrd.pl creates graphs for the period of time specified in the given filename.

Before running the script, make sure the path to "rrdtool" command is correct.