Find Big Files or Big Directories

Tim Henderson bizdev at pwnspeak.com
Wed Jul 28 19:16:35 UTC 2010


>>
>> I have 2 disks that syncs every night. The problem occurs with /dev/sdb1.
>>
>> *Output of df -h*
>>
>> /dev/sdb1 224G 197G *17G 93%* /
>> [SNIP]
>> Output of the command  du –m  /var/www/Nuxeo | sort –n | tail -15
>> [SNIP]
>> 15559   . ß I don’t know why only 15GB is reported..

the `du` command does not account for hidden files or directories unless 
then are within a nested dir.

Try `du -shc /var/www` for the actual usage by the 'www' dir.  Also look 
for hidden files in the 'Nuxeo' dir, this may account for the "missing" 
files.

Tim H.




More information about the ubuntu-users mailing list