Operating System - HP-UX
1849023 Members
3989 Online
104041 Solutions
New Discussion

statistics using sar or glance

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

statistics using sar or glance

Hi!

I would like to get statistics about processor, disk (io, wait for io) and memory on HP-UX. I would like to make graphics with this information. I would like to generate one file for day automaticaly. How can i do that!

Please help me!
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: statistics using sar or glance

glance requires a pay-for license.

You can use it for 60 days. It provides an easy to understand graphic display.

Or you could collect data with the script I'm attaching. It uses sar and other good tools.

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
Sridhar Bhaskarla
Honored Contributor

Re: statistics using sar or glance

Hi Edwin,

There isn't any built-in software on HP that will provide you with graphical interface for performance management.

You will need to purchase Glance+ pak that includes measureware to collect the data and gpm to display graphical interface for runtime performance.

If you purchase Perfview, it will include 'pv' that can let you to view even historical data graphically based on your measureware collection. I generally use 'extract' command that comes with measureware, extract the data and manipulate it with excel.

If you don't want to purchase, then you will ahve to do some work yourself. You can enable sar/vmstat to collect the data, put them in mrtg, rrd tables. mrtg or rrdtool are free and can display the data graphically but you will have to work a bit to configure them. You can find them here

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Edwin Ruiz_2
Super Advisor

Re: statistics using sar or glance

Thanks steven.. where can i find the information collected for this script?
Geoff Wild
Honored Contributor

Re: statistics using sar or glance

Another thing to look into - is mrtg:

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

Produces real time graphs to display in a web browser.

For performance/analysis, there is a commercial utility called sarcheck:

http://www.sarcheck.com

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Prashant Zanwar_4
Respected Contributor

Re: statistics using sar or glance

0 * * * 0,6 /usr/lbin/sa/sa1
0 8-17 * * 1-5 /usr/lbin/sa/sa1 1200 3
0 18-7 * * 1-5 /usr/lbin/sa/sa1
5 18 * * 1-5 /usr/lbin/sa/sa2 -s 8:00 -e 18:01 -i 3600 -A

There is already a sadc utility which collects system activity report on your server. All you have to do is make entries to your root cron. man sadc gives you details. Determone your frequency of collecting data and do it accordingly. Once you have data, you can use excel all similar application to draw graphs. There also you can do it automated, by inserting formulas, just you have to later is change field values to have new graph.

Hope above heelps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Emil Velez
Honored Contributor

Re: statistics using sar or glance


What type of 11.11 OE did you purchase. If you have the enterprise or mission critical OE you should have a license for glance and measureware.

If you have measureware you can extract the textual performance data using extract. Perfview is no longer valid. There is a new web based product called OV performance Manager and OV Reporter that can display measureware data.