1

How do I tell how much load a particular process is contributing to each of several available volumes/mounts? It seems that dstat only shows aggregate stats across all processes per disk, and iotop only shows aggregates stats across all disks per process.

3
  • It's kinda bad to ask the same question twice. You might have edited the title of the original note.
    – mdpc
    Apr 11 '13 at 5:32
  • @mdpc I specifically was asking two distinct questions. I can try to make them more clearly distinguished? To other readers, this is what is being referring to: unix.stackexchange.com/questions/72027/….
    – Yang
    Apr 11 '13 at 7:39
  • The Linux kernel does not track this information. Solaris on the other hand does, and this information is available via dtrace
    – Johan
    Apr 11 '13 at 13:12
1

I don't know if this is still relevant, but I use iostat to show I/O statistics for individual devices and partitions. For example, in order to monitor a running cpio task with process id 32731 is use the following command:

iostat -xd /proc/32731 -p sda,sdb,sdc,sdd 1
-1

You can use htop. It is a better process monitoring tool that top.

1
  • I already use htop. It does not provide per-process per-disk stats.
    – Yang
    Jun 15 '13 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.