Find deleted files that are still open
Find files that were deleted but are still open in a process and still use disk space
lsof | grep '(deleted)'
- tool
- lsof19 commands
More lsof commands
-
ss -tlnpShow listening TCP ports with process names
-
ss -tanp | grep ESTABShow established TCP connections with process info
-
ss -ulnpList listening UDP ports with process names
-
ss -sPrint a socket summary grouped by state
-
ss -tnp dst :443Show connections that go to port 443