Date: Sun, 10 Mar 2002 21:53:46 -0500 From: mpd <mpd6334@cs.rit.edu> To: Aaron Hill <fbsdlist@futureuse.net> Cc: questions@freebsd.org Subject: Re: Utility to list accessed files? Message-ID: <20020310215346.A243@rochester.rr.com> In-Reply-To: <41827.203.11.225.5.1015813198.squirrel@www.futureuse.net>; from fbsdlist@futureuse.net on Mon, Mar 11, 2002 at 01:19:58PM %2B1100 References: <41827.203.11.225.5.1015813198.squirrel@www.futureuse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 11, 2002 at 01:19:58PM +1100, Aaron Hill wrote: > Hello, > > 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? > > Thanks > Aaron Hill ports/sysutils/lsof should do the trick. mike -- ___________________________________________________________ "HAVE SOME ARCTIC CIRCLE-CANDY!" - Pokey the Penguin from "POKEY AND THE TRAIN" 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?20020310215346.A243>