Ah well, /dev should be avoided too.

On Tue, Jun 29, 2010 at 13:33, Benjamin Griese <[email protected]> wrote:

> Hi,
> please be aware of /proc and its functionality.
> Your RAM is represented in /proc and I think it's counted within when you
> apply "du" on it.
> You really should atleast exclude /proc from doing "du". :)
>
> http://www.linux.com/archive/feature/126718
>
> Bye.
>
> On Tue, Jun 29, 2010 at 13:13, Kaushal Shriyan 
> <[email protected]>wrote:
>
>> Hi,
>>
>> I see df -h and du -hs difference.
>>
>> r...@test:/# du -hs * | grep G
>> 2.4G    home
>> du: cannot access `proc/1027/task/1027/fd/4': No such file or directory
>> du: cannot access `proc/1027/task/1027/fdinfo/4': No such file or
>> directory
>> du: cannot access `proc/1027/fd/4': No such file or directory
>> du: cannot access `proc/1027/fdinfo/4': No such file or directory
>> 9.5G    usr
>> r...@test:~# df -h
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/sda1              70G   55G   15G  79% /
>> varrun                3.6G   88K  3.6G   1% /var/run
>> udev                  3.6G   32K  3.6G   1% /dev
>> /dev/sda5             464M   28M  412M   7% /boot
>> r...@test:~#
>>
>> Please suggest whats eating up 43.1 GB disk space
>>
>> Thanks
>>
>> Kaushal
>>
>> --
>> ubuntu-server mailing list
>> [email protected]
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
>> More info: https://wiki.ubuntu.com/ServerTeam
>>
>
>
>
> --
> To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is
> to do -- Sartre | Do be do be do -- Sinatra
>
>


-- 
To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is
to do -- Sartre | Do be do be do -- Sinatra
-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to