1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
.TH ofl 1 "2008-11-01" "hxtools" "hxtools"
.SH Name
.PP
ofl \(em open file lister
.SH Syntax
.PP
\fBofl\fP [\fB\-P\fP] [\fB\-k\fP \fIsignalspec\fP] \fIpath\fP[...]
.SH Description
.PP
Lists all processes that have directories or files open or in use within
\fIpath\fP. Additionally it can send a signal to these processes to free up
a mountpoint for example.
.SH Options
.TP
\fB\-k\fP \fIsignalspec\fP
Send the given signal to all processes that match.
.TP
\fB\-P\fP
Show only the PIDs of the processes that matched.
.SH Differences to lsof/fuser
.PP
.IP \(bu 4
`lsof /home/user` and `fuser /home/user` would not list processes that have a
descriptor open on /home/user/subdir.
.IP \(bu 4
`fuser -m /home/subdir` would automatically go down to the root of a vfsmount
(e.g. /home) and list all processes, instead of limiting to /home/subdir.
.SH See also
.PP
\fBhxtools\fP(7)
|