Operating System - HP-UX
1753386 Members
5446 Online
108792 Solutions
New Discussion юеВ

Re: tool to sar output to present by day in graph (sar captured every 5 mins)

 
SOLVED
Go to solution
Doug O'Leary
Honored Contributor

Re: tool to sar output to present by day in graph (sar captured every 5 mins)

Hey;

A long time ago, in fact, more than 10 years ago, I used gnuplot (http://hpux.connect.org.uk/hppd/hpux/Development/Tools/gnuplot-4.2.5/) to graph sar data. There was some other application that I had to use to convert the plots to jpgs but I can't remember that one off the top of my head.

Gnuplot's fairly easy for basic graphs. You can apparently do some things with it that very quickly leave my sphere of limited mathmatic understanding...

HTH;

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
apple
Super Advisor

Re: tool to sar output to present by day in graph (sar captured every 5 mins)

dear Sir,
thank you for your overwhelming respond. its very helpful. how can i this command to take usr% maximum?

cat /var/adm/sa/sar4.out| grep -v "max" >> /tmp/sar.out

hope to hear from you. thank you
apple
Super Advisor

Re: tool to sar output to present by day in graph (sar captured every 5 mins)

dear Sir,
cat /var/adm/sa/sar4.out| grep -v "Average" >> /tmp/sar.out
when i use this command, it will average out the entire day command or use algortithm find the average throughout the day?

how to find the max throughout the day of sar output capturing?
hope to hear from you.thank you
apple
Super Advisor

Re: tool to sar output to present by day in graph (sar captured every 5 mins)

dear Sir,
how to get the maximum from the sar output?

hope to hear from you. i tried to use the same command just change the
cat /var/adm/sa/sartest.out |grep -i "maximum" >> /tmp/sar.out, but nothing was captured in /tmp/sar.out. the output was 0 in size.
would really appreciate your advice. many thanks in advance
Steven E. Protter
Exalted Contributor

Re: tool to sar output to present by day in graph (sar captured every 5 mins)

Shalom to you apple,

When trying to compose your grep statement, look at the raw output. The word maximum either does not appear or may have capitalization differences, making it impossible for you to accomplish your goal.

It would appear from your feedback that members have provided you meaningful answers. If true, please show feed back in the form of awarding points to answers based on their value.

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=140137

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com