Linux Process Monitoring/Find deleted files still open

Find processes keeping deleted files open and consuming disk.

Section: Memory and Open File Views

Find deleted files still open

bash
bash
lsof +L1
Explanation

Find processes keeping deleted files open and consuming disk.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Memory and Open File Views
List open files for PID
Show files, sockets, and descriptors opened by a process.
OpenIn sheetbashsame section
List open files by process name
Show open files for processes matching a name prefix.
OpenIn sheetbashsame section
Show memory map for PID
Display a process memory map with sizes and permissions.
OpenIn sheetbashsame section
Show proportional set size
Compare memory usage with PSS if smem is installed.
OpenIn sheetbashsame section
Read /proc status
Inspect status, memory, capabilities, and thread counts.
OpenIn sheetbashsame section
Show process using port
Find which process uses a local port.
OpenIn sheetbash1 tag match