Disk access spy 

Newsgroups: comp.os.linux.misc
Date: Wed, 19 Feb 2003 05:51:56 GMT
> Hi, Is there any way that I can spy which application is accessing(r/w)
> the HD? I noticed that RH8 accesses my HD every 5 seconds, no matter how
> long the machine is left idle. The situation is that the swap usage
> is 0, and my memory is used barely over 50%. None of the
> applications is using CPU except X and top. I want to know exactly
> which application is doing the disk access (and see if I can disable
> it).

Do you have "magicdev" installed? Take a look in the logs. I use to uninstall magicdev after I installed a redhat system but I haven't tried RH 8.0 due to past experiences with x.0 releases.

David

Disk access spy 

> I noticed that RH8 accesses my HD every 5 seconds, no matter how
> long the machine is left idle.

kjournald, maybe?

If you're using ext3 then that's probably it.

G. Stewart

Disk access spy 

> > I noticed that RH8 accesses my HD every 5 seconds, no matter how
> > long the machine is left idle.
>
> If you're using ext3 then that's probably it.

Thanks for the respond. I've now disabled ext3 for of my disks. But RH8 still accesses my HD about every 5 seconds. The improvement is that previously each access will have 23~39K data transfer, but now it is only 12k.

I've got huge RAM, currently it is only used about 1/4. What else applications rely so heavily on my HD? I've also checked that I don't have "magicdev" anywhere in my file system. (thanks David).

Anything else? Thanks!

Disk access spy 

One thing you can try is stopping the syslog and see if it still does it. Don't uninstall the syslog just stop it to see if it is what is accessing the drive.

David

Disk access spy 

It might be that damned automount that updates every second or so. I had that problem. It also filled up the dmesg buffer so I could not find a problem I was looking for. Since I never want automounting, I just turned it off.

Jean-David Beyer

Disk access spy 

Do you have this when you do ps -ax?

6 ?        SW     0:01 [bdflush]
man -k bdflush

should help.

Warning: READ the doc *carefully*.

joseph Philip