Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 16:11:06 +0000
From:      db <db@traceroute.dk>
To:        questions@freebsd.org
Subject:   Monitoring a program
Message-ID:  <200511161611.06437.db@traceroute.dk>

next in thread | raw e-mail | index | archive | help
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



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