I vaguely recalled having used an AIX command that would list what files are open by what processes.
After some digging I uncovered the fuser command.
Here is the first part of the man pages for fuser:
fuser Command
Purpose
Identifies processes using a file or file structure.
Syntax
fuser [ -c | -d | -f ] [ -k ] [ -u ] [ -x ] [ -V ]File …
Description
The fuser command lists the process numbers of local processes that use the
local or remote files specified by the File parameter. For block special
devices, the command lists the processes that use any file on that device.
Each process number is followed by a letter indicating how the process uses the
file:
c Uses the file as the current directory.
e Uses the file as a program’s executable object.
r Uses the file as the root directory.
s Uses the file as a shared library (or other loadable object).
The process numbers are written to standard output in a line with spaces between
process numbers. A new line character is written to standard error after the
last output for each file operand. All other output is written to standard
error.
The fuser command will not detect processes that have mmap regions where that
associated file descriptor has since been closed.
Below is a screen shot of a simple usage of fuser:
Russ Ross
RussRoss318@gmail.com