
lsof:ai:19342
Total size of all files that are deleted but still open by a process
$ lsof | grep deleted | awk '{sum += $7} END {print sum}'
try on your machine
This command will list all open files that have been deleted and calculate the total size of these files in bytes.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- Total size of all files that are deleted but still open by a process?