term% cat index.txt FINDDEV(8) System Manager's Manual FINDDEV(8)
NAME
finddev - find processes using a device
SYNOPSIS
/etc/finddev [ pid ] ... [ file ] ...
DESCRIPTION
When invoked without arguments, finddev prints the number of every
process and a description of each file referred to by that process.
Giving one or more process numbers restricts finddev's attention to
those processes.
If file arguments appear, finddev prints only the process numbers of
those processes that refer to files in the argument list. If an argu‐
ment file is an ordinary file, character special file, or directory,
the process must refer to that file to be counted. If an argument is a
block special file containing a mounted file system, a process will be
counted if it refers to any file on that file system.
To see details of all processes referring to, say, the console, try:
finddev `finddev /dev/console`
Finddev has no special privileges. To use it, the user must have per‐
mission to read /dev/mem.
FINDDEV(8)