1826235 Members
2929 Online
109692 Solutions
New Discussion

Re: system performance

 
jpcast_real
Regular Advisor

system performance

When I make a sar I can see that there is a %wio bigger than 50% in many cases . I wuold like to know which processes is causing this %wio .. How can I know which process is accessing to a disk and how can monitor the behauviour of a process:

hpuxserv:/> swapinfo -t
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 935920 3258384 22% 0 - 1 /dev/vg00/lvol2
reserve - 2180540 -2180540
memory 1387556 491548 896008 35%
total 5581860 3608008 1973852 65% - 0 -


08:29:58 %usr %sys %wio %idle
08:30:58 15 17 16 53
08:31:58 9 11 33 47
08:32:58 9 9 27 55
08:33:58 9 8 34 48
08:34:58 10 9 25 56
08:35:58 15 14 23 48
08:36:58 18 20 36 26
08:37:58 6 7 30 57
08:38:58 7 9 11 73
08:39:58 17 15 35 33
08:40:58 11 9 26 54
08:41:58 13 10 16 61
08:42:58 14 11 28 47
08:43:58 17 11 21 51
08:44:58 23 12 25 40
08:45:58 23 15 21 42
08:46:58 21 14 20 45
08:47:58 22 19 35 24
08:48:58 25 18 41 16
08:49:58 27 22 31 20
08:50:58 24 24 43 9
08:51:58 13 13 52 23
08:52:58 14 14 51 22
08:53:58 13 12 53 22

 

P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX > sysadmin. -HP Forum Moderator

Here rests one who was not what he wanted and didn't want what he was
3 REPLIES 3
Ravi_8
Honored Contributor

Re: system performance

Hi

"glance plus" would help you in identifying this process( glance plus is product needs to buy, otherwise it's available on trial version for 60 days on application media).

if you don't like this try out with
#ps -aef
identify which process consuming more time.
never give up
G. Vrijhoeven
Honored Contributor

Re: system performance

Javier,

Like mentioned glanceplus is a good tool for this.

But you can start with sar -d to view which disk (if it is a disk) is the bottleneck. With vgdisplay -v you can identify the volumegroup that has the disk and with bdf you can get the mount point. With fuser -u /mountpoint you can get the processes active on the mount point. It will be a process that consumes considerable CPU time.

HTH,

Gideon

It can be a stale mirror, bad disk asswell so check the syslog dmesg for messages.
John Flanagan
Regular Advisor

Re: system performance

Hi,

If you do not have Glance use 'top'. this will give you a good idea of the most demanding processes. Also sar -d will show you which disk is being used.

Regads,

John.