ofl(1)

ofl1

Open file lister

Usage

ofl [-P] [-k signalspec] path []

Overview

Lists all processes that have directories or files open or in use within path. Additionally it can send a signal to these processes to free up a mountpoint for example.

Options

-k signalspec

Send the given signal to all processes that match.

-P

Show only the PIDs of the processes that matched.

Differences to lsof/fuser

•

`lsof /home/user` and `fuser /home/user` would not list processes that have a descriptor open on /home/user/subdir.

•

`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.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–11
  2. 12–13

From hxtools 20231224-2+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.