Re: Suddenly increased my hard disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 04/18/2016 03:45 PM, Gordon Messmer wrote:
On 04/18/2016 01:18 PM, g wrote:
'lsof', aka, list open files, will list every open file on system, and
there
are a lot.

'grep deleted' will list_only_  the deleted files that are still open.

That's exactly the same thing that "ls -l /proc/*/fd/* | grep
'(deleted)'" will do. So how is lsof better, exactly?

lsof will show the sizes of the deleted files.

     lsof | grep deleted | sort -k7n

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux