Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2004 14:00:32 +0000
From:      David Jenkins <david.jenkins@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Tracing Disk Activity
Message-ID:  <9395922d04112106002061980d@mail.gmail.com>
In-Reply-To: <20041121093347.GA861@gicco.homeip.net>
References:  <20041121093347.GA861@gicco.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Nov 2004 10:33:47 +0100, Hanspeter Roth <hampi@rootshell.be> 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.

There may be a much better way of doing this but have a look at fstat(1).

Hope this helps.

David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9395922d04112106002061980d>