Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lsof

On 22-May-08, at 12:28 PM, Joerg Sonnenberger wrote:

On Thu, May 22, 2008 at 12:18:51PM -0400, Greg A. Woods; Planix, Inc. wrote:
If someone can show some real useful feature of lsof that's lacking in native tools then that's a good project to add that feature to one of the
native tools.

fstat doesn't (try) to rebuild the path name.

As far as I know that's always a pretty expensive operation to try to do very often, even if only with a special command-line option.

Meanwhile it's a very easy thing to do with a simple find command for the one or two files that might be really interesting to know about at any given time, once given the information fstat does show.

                                        Greg A. Woods; Planix, Inc.

Home | Main Index | Thread Index | Old Index