Operating System - HP-UX
1752572 Members
4514 Online
108788 Solutions
New Discussion юеВ

Performace Monitoring on HP UX

 
UnixT
Frequent Advisor

Performace Monitoring on HP UX

Hi All,

I have a system with HPUX 11.23 with all performace tool (sar/glance/top etc..) installed. May I know the steps to be followed if need to get a performace review on the last one week.

Thanks.
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Performace Monitoring on HP UX

Shalom,

http://www.hpux.ws/?p=6

Thats my script set for monitoring based on some scripts HP gave me long ago.

Then you look at your data and deal with what it says.

Key thing is not to just take data bot have the system doing something meaningful when you do it. If its an oracle server, run these script sets will doing some meaningful oracle processing.

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
Court Campbell
Honored Contributor

Re: Performace Monitoring on HP UX

if you have glance plus the midaemon should be running in the background. Try this as root:

mwa status

if you get info about different services and pids, it's running.

Next go to /var/opt/perf. In there ther will be a file called reptall. Copy that file to a new name and uncomment the data you want. The file uses asterisks to denote commented lines. Next run a command like the following:

extract -xp W-n -G -r /var/opt/perf/

NOTE: W-n = one week's data, "n" weeks before today

For more info you may want to man extract. Here is a page I found back when I was first doing this. It may help.

http://www.nws.noaa.gov/mdl/awips/aifmdocs/APPENDIX06.htm

The extract info is towards the middle of the page.

"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Tingli
Esteemed Contributor

Re: Performace Monitoring on HP UX

If you have sar set up in crontab job, then you can get the output in /var/adm/sa/sardd, in which the dd is the date.
dirk dierickx
Honored Contributor

Re: Performace Monitoring on HP UX

just a small remark. none of those installed tools will give you a 'review', some can give you an 'overview', meaning graphs and figures. but don't expect advise or tuning hints from them.

the only package available i know of, which does deliver a readable 'review' of a servers resources is called sarcheck.

http://www.sarcheck.com/
likid0
Honored Contributor

Re: Performace Monitoring on HP UX

This are some sar lines that i put into a script and into the crontab, launches every 15 minutes:

/usr/lib/sa/sa1 > $LOG 2>&1
/usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A >> $LOG 2>&1
Windows?, no thanks
Court Campbell
Honored Contributor

Re: Performace Monitoring on HP UX

I'll probably catch heck for this, but sar on HPUX is junk. It is inaccurate. I consider sar output to be ball park estimates. Glance is more accurate than sar, iostat, etc. I am not saying you should use them, just be aware that they are not reliable figures.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Avinash20
Honored Contributor

Re: Performace Monitoring on HP UX

You might find your answer here

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=234513
"Light travels faster than sound. That's why some people appear bright until you hear them speak."