On Thu, Sep 22, 2011 at 12:24 AM, Camaleón <noela...@gmail.com> wrote:

> On Wed, 21 Sep 2011 23:45:00 +0800, lina wrote:
>
> > On Wed, Sep 21, 2011 at 11:10 PM, Camaleón <noela...@gmail.com> wrote:
>
> >> > I followed Camaleón's suggestion, the output of
> >> >
> >> > cd /
> >> > du -h | grep "[0-9]M" | sort -n -r | less
> >> >
> >> > the first few ones even reached hundreds of M.
> >>
> >> Are those big figures for files or folders?
> >>
> >>
> > folders.
> >
> >
> >
> >> 636M    ./src/some_software
> >> 592M    ./src/some_software/
> >> 543M    ./.local/share
> >> 543M    ./.local
> >> 540M    ./.local/share/Trash/files
> >> 540M    ./.local/share/Trash
> >> 494M    ./Documents/p
> >> 392M    ./Documents/c
> >> 375M    ./Documents/c/BS409
> >> 356M    ./src/some_software/software/test
> >> 356M    ./.mozilla/firefox/3gbs90vf.default
> >> 356M    ./.mozilla/firefox
> >> 356M    ./.mozilla
>
> Then it's fine. I would worry when a file gets oversized, that may
> indicate a problem.
>
> But I would carefully watch your "/.local/share/Trash" and your Firefox
> profile. Both folders look very big to me, you may have there "erasable"
> files (deleted and/or cached files you can safely remove).
>
> Look:
>
> sm01@stt008:~$ du -hs .local/share/Trash .mozilla
> 104M    .local/share/Trash
> 120M    .mozilla
>

I just made a clean. now better. Thanks ^_^ for your time.


>
> >> > the output of du -h is 34G
> >>
> >> Tip: "du -sh" to get the summary the output, but it will be also
> >> interesting to know what's the result of "df -h" to get the whole
> >> picture of your system space.
> >>
> >>
> >  # df -h
>
> (...)
>
> Overall looks good.
>
> >> > Sorry I still don't know which files took the partition which /
> >> > mounted.
> >>
> >>
> > are there some easy way to see which files sit on which partition?
>
> You can also use "df" for files, it will print the partition on what
> they're are mounted. For example:
>
> sm01@stt008:~$ LANG=POSIX; df -h /data/backup/sm01/2010-09-12.tar.bz2
> .mozilla
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdb1             459G  401G   35G  93% /data/backup
> /dev/sda3             115G   22G   94G  19% /
>

The command #LANG=POSIX; df -h * is cool. Thanks,

Question 1: still missing few MB, which I don't know being occupied by which
files. welcome providing guess. and there is none invisible file in /. is it
reasonable for below files?

 /# LANG=POSIX; df -h /lib
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             658M  377M  248M  61% /

330M    /lib
12M    /etc/
6.7M    /bin
5.7M    sbin/
4.6M    /lib32
1.3M    /root/

200K    srv/
4.0K    selinux/
4.0K    lib64/
16K    lost+found/
8.0K    media/
8.0K    mnt/

Question 2: is it normal?

# LANG=POSIX; df -h sys/
Filesystem            Size  Used Avail Use% Mounted on
sysfs                    0     0     0   -  /sys

I don't have /sys partition.

Thanks,

>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/pan.2011.09.21.16.24...@gmail.com
>
>


-- 
Best Regards,

lina

Reply via email to