sar graphical report with gnuplot

sar is very useful to monitor sys.res, following is a demo to paint gra. report using gnuplot.

gnuplot can be obtained from sf.(while it’s not GPL compatible license) http://gnuplot.sourceforge.net/

for Fedora users, just using yum install gnuplot to make the tool running.

#1, run sar command, and collect a sample of output. as: sar.txt

sample data: sar.txt
#2, handle the file, format for the tool, to :sar2.txt

sample data: sar2.txt
#3. run gnuplot with following cmd.

#4. paste the result of demo.

 

 

3 thoughts on “sar graphical report with gnuplot”

  1. sar [-flags] [ -e time ] [ -f filename ] [-i sec ] [ -s time ]-f filename Uses filename as the data source for sar. The default is the current daily data file /var/adm/sa/sadd.-e time Selects data up to time. The default is 18:00.-i sec Selects data at intervals as close as possible to sec seconds.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.