Tag Archives: filesystem

Viewing deleted-but-open files on Linux

On Linux, a file may be deleted (removed/unlinked) while a process has it open.  When this happens, the file is essentially invisible to other processes, but it still takes on physical space on the drive.  To find out how much space is taken up by these files, run: sudo lsof | awk ‘/deleted/ {sum+=$7} END […]