Date: Mon, 11 Mar 2002 03:58:57 +0100 (CET) From: Morten Grunnet Buhl <nemo@rudiment.dk> To: <freebsd-questions@freebsd.org> Subject: Re: Utility to list accessed files? Message-ID: <Pine.LNX.4.31.0203110356560.11454-100000@rudiment.dk> In-Reply-To: <41827.203.11.225.5.1015813198.squirrel@www.futureuse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Mar 2002, Aaron Hill wrote: > I have a scripted process here that I am trying to debug. It would help me > if I could a listing of all the files being accessed by the process. The > scripts themselves are somewhat complex. > > Is there a utility available able that can do this? For example, the time > utility ... > > time ls -l > > ... calculates how long "ls -l" takes to execute. What if I wanted a list > of any files opened by "ls" ... can it be done? Im not completely sure this is what your looking for but here goes: man (ktrace|kdump) or do # ktrace ls ... # kdump hope this help in any way... Morten. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.31.0203110356560.11454-100000>