disk usage

Benjamin Griese der.darude at gmail.com
Tue Jun 29 11:35:05 UTC 2010


Ah well, /dev should be avoided too.

On Tue, Jun 29, 2010 at 13:33, Benjamin Griese <der.darude at gmail.com> 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 <kaushalshriyan at gmail.com>wrote:
>
>> Hi,
>>
>> I see df -h and du -hs difference.
>>
>> root at 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
>> root at 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
>> root at test:~#
>>
>> Please suggest whats eating up 43.1 GB disk space
>>
>> Thanks
>>
>> Kaushal
>>
>> --
>> ubuntu-server mailing list
>> ubuntu-server at lists.ubuntu.com
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20100629/70e4e4fc/attachment.html>


More information about the ubuntu-server mailing list