top for hard disk usage

Dave Burns tburns at hawaii.edu
Thu May 15 23:33:26 UTC 2008


lsof will show you what files are open and what process is accessing
them. Not what you want, but it would get you part-way there. You
could do some grepping and find out which processes have  lots of
files open, or diff the results over time and find out which processes
access lots of files. Won't tell you about processes that have one
file open and are constantly reading and writing it.

On Thu, May 15, 2008 at 1:15 PM, Bill Davidsen <davidsen at tmr.com> wrote:
> David Timms wrote:
>>
>> What tool can tell me why my hard disk light is essentially on, performing
>> continuous access ?
>>
>> top doesn't seem to show the culprit since it mustn't use enough CPU.
>>
>> Fedora 9 i386 if it matters.
>>
>> Also, is there similar for network ?
>>
> Is there a tool which will allow me to track io by process? I can do it by
> putting a printk in the kernel, rebuilding, and wading through MB of logs,
> but what I want is a way to find out which process or kthread is writing to
> my disk when the system is dead idle.
>
> Of course the logging operation causes disk i/o... so it's kind of ugly to
> use.
>
> --
> Bill Davidsen <davidsen at tmr.com>
>  "We have more to fear from the bungling of the incompetent than from
> the machinations of the wicked."  - from Slashdot
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list