On Friday 18 November 2005 10:00, [EMAIL PROTECTED] wrote:
> El día Thursday, November 17, 2005 a las 06:12:22PM +, db escribió:
> > On Thursday 17 November 2005 09:42, [EMAIL PROTECTED] wrote:
> > > with 'lsof' you can see the actual situation; with 'truss' you
> > > may investigate in detail
El día Thursday, November 17, 2005 a las 06:12:22PM +, db escribió:
> On Thursday 17 November 2005 09:42, [EMAIL PROTECTED] wrote:
> > with 'lsof' you can see the actual situation; with 'truss' you
> > may investigate in detail all sys calls (like opening files)
>
> Thanks, I also found /deve
On Thursday 17 November 2005 09:42, [EMAIL PROTECTED] wrote:
> with 'lsof' you can see the actual situation; with 'truss' you
> may investigate in detail all sys calls (like opening files)
Thanks, I also found /devel/strace which looks good :-)
br
db
__
On Thursday 17 November 2005 09:32, you wrote:
> You can take a snapshot of files being used by lsof:
> Port: lsof-4.76.1.1
> Path: /usr/ports/sysutils/lsof
> Info: Lists information about open files (similar to fstat(1))
> Maint: [EMAIL PROTECTED]
> B-deps:
> R-deps:
> WWW:http://people
El día Thursday, November 17, 2005 a las 11:32:31AM +0200, Ivailo Tanusheff
escribió:
> You can take a snapshot of files being used by lsof:
> Port: lsof-4.76.1.1
> Path: /usr/ports/sysutils/lsof
> Info: Lists information about open files (similar to fstat(1))
> Maint: [EMAIL PROTECTED]
>
Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD
db <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/16/2005 06:11 PM
To
[EMAIL PROTECTED]
cc
Subject
Monitoring a program
Hi all
I would like to know what files a program access during it's life time
(and
may
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.