List all files currently held open by a process (lsof)
lsof -p 1234
Shows every file, network socket, and library being used by a process with a specific PID (e.g., 1234).
lsof -p 1234
Shows every file, network socket, and library being used by a process with a specific PID (e.g., 1234).