Operating System - HP-UX
1833875 Members
1643 Online
110063 Solutions
New Discussion

How determine which process is makinh high i/o ?

 
SOLVED
Go to solution
claudio_22
Regular Advisor

How determine which process is makinh high i/o ?

Hello,

I've following sar -u vlues

13:02:21 %usr %sys %wio %idle
13:02:23 32 10 53 5
13:02:25 35 10 51 4
13:02:27 32 7 52 9
13:02:29 19 9 55 17
13:02:31 10 6 73 11
13:02:33 20 12 61 7
13:02:35 9 6 62 23
13:02:37 17 14 51 18
13:02:39 14 10 48 28
13:02:41 12 8 56 23

Average 20 9 56 15

Clinet is complain about this high %wio

I'd like find out which process is making so much i/o


Average c1t6d0 14.99 0.51 24 196 5.10 8.73
Average c2t6d0 11.39 0.51 20 177 5.20 8.03
Average c3t3d2 11.59 0.50 13 219 4.06 15.51
Average c5t3d3 4.70 0.50 5 90 5.02 10.30
Average c3t5d0 10.39 0.50 11 189 4.96 13.57
Average c5t5d1 10.19 0.51 8 135 4.57 20.30
Average c5t5d3 7.09 0.50 6 121 5.10 13.41
Average c3t5d4 23.48 0.50 19 318 4.69 13.57
Average c5t5d5 12.69 0.50 20 345 4.72 7.74
Average c3t5d6 14.99 0.82 17 300 9.47 15.26
Average c5t5d7 25.12 0.50 21 346 5.07 14.02
Average c3t6d0 13.24 0.50 16 273 5.17 9.73
Average c3t6d5 18.88 0.50 34 607 5.03 7.42
Average c5t6d6 17.43 0.50 32 566 5.23 6.55
Average c3t6d7 9.34 0.50 16 283 5.03 7.13
Average c5t8d0 12.44 0.50 19 326 5.16 7.47
Average c3t8d1 7.34 0.50 14 254 4.96 6.15
Average c5t8d2 10.29 0.50 11 181 4.41 16.00
Average c3t5d2 2.05 0.50 1 26 4.60 15.15
Average c5t6d1 18.98 0.50 38 668 5.18 6.41
Average c5t0d2 0.55 0.50 1 11 3.04 10.03
Average c3t0d3 1.50 5.48 5 98 7.95 8.01
Average c3t0d1 0.60 0.50 0 8 1.98 22.17



This a sar -d output


Thanks

6 REPLIES 6
Bharat Katkar
Honored Contributor

Re: How determine which process is makinh high i/o ?

Hi,
I think "top" should help.
Regards,
You need to know a lot to actually know how little you know
Franky_1
Respected Contributor

Re: How determine which process is makinh high i/o ?

Hi,

just use the "top" command - it will show you the "originator" of that high I/O load

Regards

Franky
Don't worry be happy
Jean-Luc Oudart
Honored Contributor

Re: How determine which process is makinh high i/o ?

Hi,

if you have glance, sort the processes on per disk usage

Regards
Jean-Luc
fiat lux
claudio_22
Regular Advisor

Re: How determine which process is makinh high i/o ?

I've glance ; if i go in Iobydisk screen I see top disk user ; but how I can sort processes by i/o in glance ?

Muthukumar_5
Honored Contributor

Re: How determine which process is makinh high i/o ?

We can use glance tool to know the i/o informations based on process there. It is more effective to this.

And sar is based on whole system process activity reporter. And process rank on top is based on cpu not by i/o ( see man top )
Easy to suggest when don't know about the problem!
Ermin Borovac
Honored Contributor
Solution

Re: How determine which process is makinh high i/o ?

To sort processes by I/O usage in glance:

Start glance
Type o
On the bottom of the screen you should see
Go to 1) Process 2) Transaction 3) Thread option screen (1):
Type 1 and press enter
Using arrow keys scroll down to
Sort key (name/cpu/disk/rss):
Type disk and press enter

That should return you to the main screen where you should see processes sorted by "disk io rate".