[nycbug-talk] FreeBSD 5.4 weirdness

Francisco Reyes lists
Wed Jun 1 22:01:55 EDT 2005


On Wed, 1 Jun 2005, Michael Shalayeff wrote:

> you have an open but unlink(2)ed file somewhere.
> use fstat(1) or that other thing ... lsof!

How would one use fstat to see that open file?
The output of fstat didn't look very friendly.. is there a flag that at least 
shows only one line per file? Man fstat didn't seem to show anything like 
that... The same for lsof.

I guess one could use cut/sort/uniq on a script as a worst case scenario.





More information about the talk mailing list