0

Can some one help to find highest IO consumer on each individual disks?

i.e Which process consumes the most IO on /dev/sda, the highest IO consumer on /dev/sdb etc.

2
  • 1
    Which Operating System?
    – HBruijn
    May 7, 2015 at 5:04
  • 1
    You mean which distro :-) May 7, 2015 at 9:23

2 Answers 2

2

You can use iotop command. It's top-like I/O monitor

1

You can use atop. It's the top-alike tool that will show you all kind of stuff about your running processes. It will also highlight the resources that are hogged (being used heavily or becoming bottleneck for the processes).

It can also record the state of the system every X minutes, and that feature can be used as "poor man performance monitor".

To see the IO, run atop, and after it starts, press 'i' which will show you:

New interval in seconds (now 10):

Enter 1 (to see status in intervals of 1 second - which is reasonable because lower that that it becomes problem for human eye to catch all the details).

Next, press 'd' to sort processes by disk usage, and observe the system behaviour.

You can also use iotop as Maxiko sucggested, it's much simpler tool then atop, but is limited to IO monitoring only.

1
  • How to map the processes to disk? i.e find what process is running on which disk? May 7, 2015 at 5:18

Not the answer you're looking for? Browse other questions tagged .