Operating System - HP-UX
1758390 Members
2669 Online
108868 Solutions
New Discussion

How to gather CPU and memory utilization over time without measureware

 
SOLVED
Go to solution
Jay_122
Advisor

How to gather CPU and memory utilization over time without measureware

Hi,
Iâ ve been asked to gather CPU, disk and memory utilization over a 4-5 day period. The server does not have measureware or glance installed. Is there another utility I can use to gather this information?

Thanks
Ja
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: How to gather CPU and memory utilization over time without measureware

Hi,

How about sar.

Do "man sar" for more help.

Hope this helps.

Regds
Geoff Wild
Honored Contributor

Re: How to gather CPU and memory utilization over time without measureware

As Sanjay says - look at sar....

If you want something to be shown via a web browser - look at MRTG:

http://hpux.ee.ualberta.ca/hppd/hpux/Networking/Admin/mrtg-2.10.13/

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


http://www.admins-tipps.net/management/mrtg_hpux.txt

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.
RAC_1
Honored Contributor
Solution

Re: How to gather CPU and memory utilization over time without measureware

sar -d and iostat (for disks)
sar -b (buffer cache)
car -uM (CPU)
vmstat (for memory)

Anil
There is no substitute to HARDWORK
generic_1
Respected Contributor

Re: How to gather CPU and memory utilization over time without measureware

UNIX95= ps -e -o vsz=Kbytes -o pid,args=Command-Line | sort -rnk1 >> yourfile

Run that out of cron.

Also you can redirect top output to a file

top -d 1 -n 20 -f yourfile
Jay_122
Advisor

Re: How to gather CPU and memory utilization over time without measureware

Thanks for all the help