Operating System - HP-UX
1753445 Members
5320 Online
108794 Solutions
New Discussion юеВ

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

purpose of top, glance, vmstat, sar, ipca in hpuxx

Hi

I know little bit info about these commands.

So Pls explain me about important details about these commands.

Pls explain one by one.

7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

Perhaps a better place to start would be in reading the man pages for these commands.

Then if you have specific questions about the commands you can ask them.
Andres_13
Respected Contributor

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

As Patrick said man pages are the best place.

Regards!
James R. Ferguson
Acclaimed Contributor

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

Hi:

> So Pls explain me about important details about these commands.

There are various tools to monitor various aspects of performance.

http://docs.hp.com/index.html

By the way, that's 'ipcs' not "ipca" and it's 'HP-UX' not "hpuxx".

Regards!

...JRF...
Avinash20
Honored Contributor
Solution

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

top >> Used to find the processes which are utilizing CPU
We could also find the Free Memory via this command
Refer http://docs.hp.com/en/B3921-60631/top.1.html

glance >> Glance is a performance monitoring tool which is used to see the CPU/DISK/NETWORK/MEMORY Utilization.

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-15-28^9637_4000_100

vmstat >>
In vmstat you could look for the any page-out(po) which are taking place.
There should always be less than a single digit page-out. 0 page-outs are best

sar >> This is used to see the CPU utilization(sar -Mu 1 1), Buffer utilization(sar -b 1 1), Disk Util(sar -d 1 1)
You could refer to http://docs.hp.com/en/B3921-60631/sar.1M.html

ipca (It should have been ipcs)
This report status of interprocess communication facilities. It is used to see the size of the shared memory segments, and also we could check the attached processes.
Also we can see which shared memory segments are marked for DELETE.

Refer to http://docs.hp.com/en/B3921-60631/ipcs.1.html
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Bijeesh
Respected Contributor

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

Hi,
All these are using for performance monitoring.
top will give an o/p which contains a list of the processes using more CPU.It also show the memory informations.
vmstat is used for virtual memory performance.

sar-system activity reports can be used to check the performance of CPU,memory,disk etc

Anyway it is better to search in man pages.


Ganesan R
Honored Contributor

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

Hi Senthilkumar,

It looks you are started learning HP-UX. If so I would suggest the following book to give you very best basic knowledge on HP-UX.

http://www.amazon.com/HP-UX-CSA-Official-Reference-Professional/dp/0131448544/ref=sr_1_1?ie=UTF8&qid=1239040645&sr=1-1
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: purpose of top, glance, vmstat, sar, ipca in hpuxx

Shalom,

This sir is why we have man pages.

Each command has an explanation.

top - to measure performance and system load

glance - a proprietary tool from HP that provides more detail.
vmstat - swap use and performance
sar - performance measurement, free, very useful.

http://www.hpux.ws/?p=6

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