View Full Version : Utility to show which process ids (PIDs) are generating most I/O
LaR3
November 20th, 2008, 17:26
In Linux (>2.6.20) there is an utility called pidstat, which comes with sysstat >7.1.5. It is able to show which processes are generating most I/O requests on the disks.
Is there any tool that does the same thing on FreeBSD ? I've searched all the mans from pstat/iostat/systat a.s.o.
Thanks.
tanked
November 20th, 2008, 17:34
I'm struggling to remember but I've recently read Absolute FreeBSD 2nd Ed. and I think it says that when you're in the top utility if you press m it will show you what process(es) are using the disk bandwidth.
DutchDaemon
November 20th, 2008, 17:40
top -m io -d 1 will give you the current count. Use -o for sort options (total read write fault vcsw ivcsw)
top -m io will give you the current status (not cumulative), with the o key plus keyword for sorting (total read write fault vcsw ivcsw)
brucec@
November 20th, 2008, 21:28
top -m io
DutchDaemon
November 20th, 2008, 22:01
Or even top -m io, of course.
LaR3
November 20th, 2008, 23:27
Thanks
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.