[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lsof anyone ?
"Peter L. Peres" <plp@actcom.co.il> writes:
> If any1 here is using lsof on Linux, please tell me how (well) it works.
It knows where to read about files' users.
> I have located lsof sources on CSI and they are HUGE. I want to know
> before I get it. Is there an alternative ?
>
fuser
> In particular, what can be done to directories and files that were
> orphaned by a network failure while NFS-mounted ? They wind up with a link
> count of 2 or more and 'umount -f' says it can't do forced umounts yet (I
> had thought that a decent hacker O/S would have things like 'umount -f'
> *first*, and then a kernel ;) ?).
>
Not much help over here. Lately, lsof somehow stopped working for me.
Fortunately, I don't have to use it often.
Yet another way to answer a question about file users is to browse
/proc/*/fd for symlinks to [device]:inode
--
Alexander L. Belikoff
Bloomberg LP / BFM Financial Research Ltd.
abel@bfr.co.il