File: ofl.1

package info (click to toggle)
hxtools 20201116-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,696 kB
  • sloc: ansic: 5,074; perl: 3,589; cpp: 2,152; sh: 1,610; asm: 173; makefile: 153
file content (30 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (2)
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)