1837254 Members
2554 Online
110115 Solutions
New Discussion

utilization question!!

 
SOLVED
Go to solution
Amit Manna_6
Regular Advisor

utilization question!!

Hi
I want to monitor the %CPU(System and User), Peak Disk utization, memory utilization, swap utilization and priorty queue
utilization on 24 hrs basis on a HP Box.
Can anybody suggest how i can go about the same.

Thanks
Amit
8 REPLIES 8
Florian Heigl (new acc)
Honored Contributor

Re: utilization question!!

Things that will get You this data:

running sar (1m)
getting a Glance/UX license (most colorful output, really good, but costs money. There is a 30day test license on Your application CD's)
using mrtg/rrdtool and snmpd (the hardest to configure, but free and probably perfect)
yesterday I stood at the edge. Today I'm one step ahead.
Pat Lieberg
Valued Contributor

Re: utilization question!!

You can check out EMS. This thread has info on where to download and docs:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=948198
Rick Garland
Honored Contributor

Re: utilization question!!

The command 'sar -u' will get the cpu stats you are looking for. Also look at Glance and maybe PerfView. Glance is real time. PerfView keeps historical records
Amit Manna_6
Regular Advisor

Re: utilization question!!

How can i use the Glance to store the information for a day.
and retreive it later to get the statistics.

Borislav Perkov
Respected Contributor

Re: utilization question!!

Hi,
If you don't have perfview or glance you can use sar. All you have to do is to include lines in root crontab like

00 * * * 0 /usr/lbin/sa/sa1
00 8-20 * * 1-6 /usr/lbin/sa/sa1 900 4
00 0-7,21-23 * * 1-6 /usr/lbin/sa/sa1

and after that you can retreive data with sar with -f option for appropriate day. See sar manual for it.
rgeards,
Borislav
Amit Manna_6
Regular Advisor

Re: utilization question!!

How to configure the measureware to get the information.
Rick Garland
Honored Contributor

Re: utilization question!!

For MeasureWare you can use the /opt/perf/bin/extract command.

Attached is an extract script that will collect and save info on a weekly and monthly basis. Modify to suit your needs.

Tim D Fulford
Honored Contributor
Solution

Re: utilization question!!

Hi

MeasureWare (or PerformanceAgent) stores this knind of data histotically. You can extract it into ASCII file using

extract -xt -g -b -e

This will produce a file called xfrdGLOBAL.asc, import into MS Excel and draw some graphs.

Alternatively PerfView will do the same but is more integrated into PerformanceAgent.

Regards

Tim
-