Re: Windows Filemon equivalent for freebsd

2006-05-11 Thread Garrett Cooper

Dan Nelson wrote:


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.

 

Not sure about requirement #2, but the lsof port does similar things and 
I think accomplishes requirements #1 and #3 according to what you want.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Windows Filemon equivalent for freebsd

2006-05-11 Thread Dan Nelson
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
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Windows Filemon equivalent for freebsd

2006-05-11 Thread Daniel Bye
On Thu, May 11, 2006 at 02:16:55PM -0400, Ian Lord wrote:
> Hi,
> 
> 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
> 
> Thanks a lot

fstat(1) is in the base system.  lsof(8) is available in ports.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpx8eIOGED9N.pgp
Description: PGP signature


Windows Filemon equivalent for freebsd

2006-05-11 Thread Ian Lord

Hi,

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

Thanks a lot

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"