Date: Mon, 22 Nov 2004 18:33:18 -0500 From: Brian Fundakowski Feldman <green@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: Tracing Disk Access Message-ID: <20041122233318.GB1473@green.homeunix.org> In-Reply-To: <20041122152254.GA1229@gicco.homeip.net> References: <20041122152254.GA1229@gicco.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 22, 2004 at 04:22:54PM +0100, Hanspeter Roth wrote: > > Hello, > > I have set an idle timeout for the hard-disk. But when there is no > user activity there are frequent disk accesses. > How can one trace disk access? > I'd like to know the kind of access and on which files/directories/ > nodes. I'd like to log on the console or on a memory disk file. You should look to the MAC framework to provide you -- if not the entire solution -- at least insight into how and where you can do this. If you were to do it at the disk device level, it would be a GEOM module, though. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041122233318.GB1473>