1751738 Members
5651 Online
108781 Solutions
New Discussion юеВ

Re: Online System Info

 
Ali KEMAL
Advisor

Online System Info

Hi,

The system is HP-UX 11.
How can see the online usage of CPU and Memory?

Can anybody help me, please?
Thanks,
Ali KEMAL.
5 REPLIES 5
Vijaykumar_1
Valued Contributor

Re: Online System Info

What do you mean by online info? checking the utilization?

If yes then there are many,

#glance
#top
#vmstat
#sar

etc..etc
S. Ney
Trusted Contributor

Re: Online System Info

To find out processor speed,run:

example:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
itick_per_usec:
itick_per_usec: 360

This will be the speed in MHz.

To find out how many processors are in use, run:

example:
echo runningprocs/D | adb -k /stand/vmunix /dev/mem
runningprocs:
runningprocs: 2

This can also be done by using sar -Mu


To find out cpu load on a multi-processor system, run:

example:

sar ├в Mu 5 100 this will produce 100 data points 5 seconds apart.

sar -q 5 100 (for cpu run que)

To determine virtual memory configuration run the following command:
swapinfo ├в tam
sar -b 5 100 for buffer cache
ipcs ├в mob (To determine shared memory segement allocation)
Bhadresh
Trusted Contributor

Re: Online System Info

>How can see the online usage of CPU and Memory?
What information you are exactly looking for. Can you please explain?

Glance is one of the best tool to monitor system performance.To know more about glance use following command:
#man glance

Regards,
Bhadresh
Elmar P. Kolkman
Honored Contributor

Re: Online System Info

You can also configure something like cacti to collect the info. It totally depends on what's installed and licensed what you can do.

Something that's always installed and available is the 'top' command.

Glance is part of the measureware tools, which has a seperate license. And only works when you have root access, while top runs as a normal user.

Every problem has at least one solution. Only some solutions are harder to find.
Bhadresh
Trusted Contributor

Re: Online System Info

Few other useful tools:

vmstat command can be used to get virtual memory statistics. To know more about vmstat:
http://docs.hp.com/en/B2355-60127/vmstat.1.html

top displays the top processes on the system and periodically updates the information. To know more about top:
http://docs.hp.com/en/B2355-60127/top.1.html

sar is system activity reporter. To know more about sar:
http://docs.hp.com/en/B2355-60127/sar.1M.html

Regards,
Bhadresh