Operating System - HP-UX
1838359 Members
3078 Online
110125 Solutions
New Discussion

Re: Two Questions Double the Fun

 
Vito Sarducci
Regular Advisor

Two Questions Double the Fun

First, I need to graph performance on my K series. The problem im having is how to capture the top 10 or so processes in "top" when the system is memory bound and CPU bound?

For instance, when I look in glanceplus the system CPU is at 99%. How can I graph the top 10 processes at that specific time (snapshot) of performance on my HP? Any suggestions would be very helpful.

Second question?
Are there shareware or free tools I can download and apply to my server to help me graph this information Im trying to capture?

Please advise?

thanks, Vito

Lifes too short to stress out, Enjoy every day you have on earth!
7 REPLIES 7
Ron Kinner
Honored Contributor

Re: Two Questions Double the Fun

MTRG will make pretty graphs of your CPU usage and most anything else for which there is an SNMP entry. It's free. http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html

Ron
Tom Danzig
Honored Contributor

Re: Two Questions Double the Fun

MeasureWare would be ideal for this if you have it. It's not free however.
James R. Ferguson
Acclaimed Contributor

Re: Two Questions Double the Fun

Hi Vito:

With regard to 'top' you can capture its output into a file with the '-f' option [which is not well documented]:

# top -d 1 -f /tmp/top.log

Regards!

...JRF...
Volker Borowski
Honored Contributor

Re: Two Questions Double the Fun

Hi,

if you have SAP anywhere in your house, you can use saposcol, which keeps an own shm-based 24 hours database.

Can be queried interactively or scriptbased with "saposcol -d".

Hope this helps
Volker
SHABU KHAN
Trusted Contributor

Re: Two Questions Double the Fun

Vito,
As Ron suggested MRTG is pretty good for your Metrics stuff, I used MRTG in my previous project to post Metrics information on our web server for CPU usage, free memory, vmstat information, disk usage, ip traffic, number of users on the system etc..
If you want to capture the Top ten processes from the unix command line

top | sed '/^$/d'

should print on stdout..

If you would like to see top's output of a particular process on stdout then:

top | grep

-Shabu
Vito Sarducci
Regular Advisor

Re: Two Questions Double the Fun

We have Measureware running. How can I graph that info that im looking for? MW does not detail down to the Process level? Is there something I can use coupled with MW that I can pull the process level data out of MW?

Please advise?

Lifes too short to stress out, Enjoy every day you have on earth!
Wodisch
Honored Contributor

Re: Two Questions Double the Fun

Hello Vito,

MWA *doeS* keep records about the top active processes, so read the "/opt/perf/paperdocs/mwa/C/methp.txt" and in there about the "PROC" group...

HTH,
Wodisch