Monitoring a program

db db at traceroute.dk
Wed Nov 16 16:11:02 GMT 2005


Hi all

I would like to know what files a program access during it's life time (and 
maybe also the internet connections it makes), how should I do this?
I have considered fstat, find, ktrace and searching the source or binary for 
path strings, but I guess I need a hook for open().

I'm running 5.4 on a ia32, but if there is a 6.x only program it is also 
welcome.

Best regards
db


More information about the freebsd-questions mailing list