Operating System - HP-UX
1829553 Members
2036 Online
109992 Solutions
New Discussion

Process Monitor / System Monitor

 
Anurag_7
Advisor

Process Monitor / System Monitor

Hi All,

On HP-UX 11.23 (Itanium), Which is the best command to consider for

1. Finding Process level Memory Usage, CPU Usage, leaks if any over a period of time?

2. Finding System level Memory information.

Also, why is the output of vmstat different from top as far as virtual memory is concerned?

Thanks for your help on this.

Anurag
2 REPLIES 2
Arunvijai_4
Honored Contributor

Re: Process Monitor / System Monitor

Hello,

You can use UNIX95 with ps,
UNIX95= ps -e -o "user,vsz,pid,ppid,args"

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: Process Monitor / System Monitor

Shalom,

top will show you basic usage figures, including swap usage.

swapinfo -tam will give a better picture of swap usage and overal memory allocation.

iostat/vmstat will provide information on paging which is a critical measure of perfmrance.

Each of the above utils was written differently and will not provide results that are precisely the same. They should roughly match however.

The variances are due to the accuracy, measurement fequency and type of data the utilities were written to work with.

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