Operating System - HP-UX
1828980 Members
2201 Online
109986 Solutions
New Discussion

Re: performance report generation

 
mavrick
Regular Advisor

performance report generation

How to take the one week CPU utilization of HPUX 11.11i box. Please
suggest the best method whether sar or glance . Any good small booklet
available for the step by step prcedure

Thanks in advance
4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor

Re: performance report generation

Mavrick, the simplest way would be to use the sar command, you could just specify the interval and the time that you want it to run and let it run for a week to collect data for you, at the end it should give you an average.

Regards,

Jaime.
Work hard when the need comes out.
Sยภเl Kย๓คг
Respected Contributor

Re: performance report generation

The best tool to get the historical data is perfview.
Your imagination is the preview of your life's coming attractions
mavrick
Regular Advisor

Re: performance report generation

Sunil,
Can you tell me the steps to be followed.
or any link.
Geoff Wild
Honored Contributor

Re: performance report generation

Use mwa data:

I do this nightly:

55 23 * * 1-5 /opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'System performance report' sysadm >/dev/null 2>&1

# cat /home/gwild/zgbltemplate
REPORT "MWA Export on !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR="|"
SUMMARY=60
MISSING=0
DATA TYPE GLOBAL
YEAR
DATE
TIME
GBL_CPU_TOTAL_UTIL
GBL_CPU_SYS_MODE_UTIL
GBL_CPU_USER_MODE_UTIL
GBL_CPU_SYSCALL_UTIL
GBL_CPU_INTERRUPT_UTIL
GBL_PRI_QUEUE
GBL_CPU_CSWITCH_UTIL
GBL_SWAP_SPACE_UTIL
GBL_DISK_UTIL_PEAK
GBL_DISK_SUBSYSTEM_QUEUE
GBL_MEM_UTIL
GBL_MEM_CACHE_HIT_PCT
GBL_MEM_PAGEOUT_RATE
GBL_MEM_SWAPOUT_RATE
GBL_MEM_QUEUE
GBL_NET_PACKET_RATE
GBL_NET_OUTQUEUE
GBL_NETWORK_SUBSYSTEM_QUEUE


Modify that file for say just CPU, then gather a weeks data

/opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b 07/16/2007 00:00 -e 07/22/2007 23:59 -f stdout

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.