Date: Thu, 11 May 2006 17:21:58 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Ian Lord <mailing-lists@msdi.ca> Cc: freebsd-questions@freebsd.org Subject: Re: Windows Filemon equivalent for freebsd Message-ID: <20060511222158.GE76653@dan.emsphone.com> In-Reply-To: <7.0.0.16.2.20060511141310.06394960@msdi.ca> References: <7.0.0.16.2.20060511141310.06394960@msdi.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 11), Ian Lord said: > Just a quick question, do you know a port that will do about the same > thing as filemon for windows ? > > Basically, just a command line tool to list all access to disk showing > > 1- File being access > 2- Success of failure > 3- Process accessing the file "ktrace -di -p0 -ti" is the closest we have at the moment, but that only logs the I/O actions themselves, not the syscalls generating the I/O. Removing the "-ti" flag will tell ktrace to log all I/O and all syscall activity, which may be information overload. If you're only interested in a single process, take a look at the truss command. If/when the port of Solaris' dtrace is completed, it will be able to do exactly what you want and more. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060511222158.GE76653>