[ale] DU help?!
Joseph A Knapka
jknapka at earthlink.net
Wed Aug 14 15:20:26 EDT 2002
"ChangingLINKS.com" wrote:
>
> Trying to clean up the home directory has not been easy . . .
> My results do not make sense. Apparently, I am using 875 MB for my user
> account, but I don't know _how_. Look at the results of the du and you will
> see that the directories don't total anything close to 800MB and there does
> not seem to be any significantly sized files in my /home/user directory.
Get rid of --max-depth=1, that tells du to not descend into
subdirectories after the first one. Instead, use
du -s /home/user/*
to get the total sizes of all files and directories in
/home/user.
HTH,
-- Joe
> --
> Wishing you Happiness, Joy and Laughter,
> Drew Brown
> http://www.ChangingLINKS.com
>
> ]$ du /home/user --max-depth=1 > /data/3.txt -m
>
> 5 /home/user/.kde
> 1 /home/user/.gnome
> 1 /home/user/.gnome_private
> 1 /home/user/.sawfish
> 1 /home/user/.gconfd
> 1 /home/user/.gconf
> 1 /home/user/.nautilus
> 1 /home/user/.gnome-desktop
> 1 /home/user/.gimp-1.2
> 1 /home/user/.xmms
> 1 /home/user/.xauth
> 12 /home/user/.galeon
> 1 /home/user/.tuxracer
> 1 /home/user/.ssh
> 1 /home/user/.gftp
> 2 /home/user/.mozilla
> 1 /home/user/.AbiSuite
> 1 /home/user/Mail
> 1 /home/user/.opera
> 1 /home/user/.worker
> 1 /home/user/.ymessenger
> 11 /home/user/.loki
> 1 /home/user/nsmail
> 1 /home/user/.gtk-gnutella
> 1 /home/user/.netscape
> 1 /home/user/.licq
> 1 /home/user/.cddbslave
> 1 /home/user/.gnucash
> 1 /home/user/.wine
> 1 /home/user/.gnupg
> 875 /home/user
>
> ]$ ll -a /home/user > /data/3.txt
>
> total 861740
> drwx------ 32 user user 4096 Aug 14 13:41 .
> drwxr-xr-x 4 root root 4096 Jul 10 10:17 ..
> drwx------ 2 user user 4096 Jul 10 15:55 .AbiSuite
> -rw------- 1 user user 8440 Aug 14 13:40 .bash_history
> -rw-r--r-- 1 user user 24 Jul 10 10:17 .bash_logout
> -rw-r--r-- 1 user user 208 Jul 24 23:40 .bash_profile
> -rw-r--r-- 1 user user 124 Jul 10 10:17 .bashrc
> -rw-rw-r-- 1 user user 159 Jul 27 08:24 .calendar
> drwx------ 2 user user 4096 Jul 16 13:33 .cddbslave
> -rw-rw-r-- 1 user user 240 Jul 31 03:44 .chromium
> -rw-rw-r-- 1 user user 3800 Jul 31 03:44 .chromium-score
> lrwxrwxrwx 1 user user 32 Jul 11 07:56 .DCOPserver_change ->
> /home/user/.DCOPserver_change_:0
> -rw-rw-r-- 1 user user 53 Aug 14 11:07 .DCOPserver_change_:0
> lrwxrwxrwx 1 user user 42 Jul 10 16:57
> .DCOPserver_change.home.here -> /home/user/.DCOPserver_change.home.here_:0
> lrwxrwxrwx 1 user user 47 Jul 10 14:32
> .DCOPserver_localhost.localdomain ->
> /home/user/.DCOPserver_localhost.localdomain_:0
> -rw-r--r-- 1 user user 820 Jul 10 10:17 .emacs
> -rw------- 1 user user 16 Jul 10 14:56 .esd_auth
> -rw-rw-r-- 1 user user 1316 Jul 12 11:36 .fbhighscores
> -rw-rw-r-- 1 user user 376 Jul 24 21:38 .fbrc
> drwx------ 6 user user 4096 Aug 14 13:37 .galeon
> drwx------ 4 user user 4096 Aug 14 10:13 .gconf
> drwx------ 3 user user 4096 Aug 14 13:43 .gconfd
> drwxr-x--- 3 user user 4096 Jul 10 22:35 .gftp
> drwxrwxr-x 17 user user 4096 Aug 12 01:44 .gimp-1.2
> drwxr-xr-x 10 user user 4096 Aug 14 13:01 .gnome
> drwxr-xr-x 2 user user 4096 Aug 14 13:01 .gnome-desktop
> drwx------ 2 user user 4096 Jul 16 13:27 .gnome_private
> drwx------ 3 user user 4096 Jul 31 03:45 .gnucash
> -rw-rw-r-- 1 user user 229 Aug 12 01:06
> gnuchessx-gnuchessx.pgn
> drwx------ 2 user user 4096 Aug 13 09:50 .gnupg
> -rw-rw-r-- 1 user user 984 Aug 12 01:47 .grip
> drwxr-xr-x 2 user user 4096 Jul 11 18:13 .gtk-gnutella
> -rw------- 1 user user 156 Jul 10 14:27 .gtkrc
> -rw------- 1 user user 855 Aug 14 11:07 .ICEauthority
> drwxr-xr-x 7 user user 4096 Jul 11 07:56 .kde
> drwx------ 4 user user 4096 Jul 28 14:34 .licq
> drwxrwxr-x 4 user user 4096 Jul 11 17:59 .loki
> drwx------ 2 user user 4096 Aug 14 13:38 Mail
> -rw------- 1 user user 32 Aug 4 12:50 .MCOP-random-seed
> drwxrwxr-x 3 user user 4096 Jul 15 06:41 .mozilla
> drwxr-xr-x 5 user user 4096 Jul 10 16:25 .nautilus
> -rw-rw-r-- 1 user user 814 Aug 14 13:33 .neditdb
> drwxrwxr-x 5 user user 4096 Aug 8 04:48 .netscape
> drwx------ 2 user user 4096 Jul 13 22:38 nsmail
> drwx------ 4 user user 4096 Aug 13 16:15 .opera
> drwxrwxr-x 3 user user 4096 Jul 10 16:38 .sawfish
> -rw-r--r-- 1 user user 3511 Jul 10 10:17 .screenrc
> drwx------ 2 user user 4096 Aug 14 13:22 .ssh
> drwxrwxr-x 2 user user 4096 Jul 10 15:10 .tuxracer
> -rw------- 1 user user 8895 Aug 14 13:35 .viminfo
> drwxrwxr-x 3 user user 4096 Aug 12 01:51 .wine
> drwxrwxr-x 3 user user 4096 Jul 11 15:37 .worker
> drwx------ 3 user user 4096 Jul 10 14:32 .xauth
> -rw------- 1 user user 152 Aug 14 10:13 .Xauthority
> drwxr-xr-x 4 user user 4096 Jul 10 14:56 .xmms
> -rw------- 1 user user 5932 Aug 14 13:35 .xsession-errors
> drwx------ 3 user user 4096 Aug 14 13:27 .ymessenger
>
> On Wednesday 14 August 2002 13:32, you wrote:
> > ChangingLINKS.com wrote:
> > > I am using like 98% of my 6.9 gig /
> > > Can someone tell me what I can delete to free up space? Like can I just
> > > delete everything in /usr/share/doc?
> >
> > Would have been best to install the software without the docs from the
> > beginning. Removing them now is going to screw with your package
> > manager's head.
> >
> > It's not much help, but /etc looks surprising large.
> >
> > What's in /data?
> >
> > You probably could clean some clutter from /home. (I'm a good one to
> > talk, my home dir is 3216992 blocks).
> >
> > All I can say on the rest, is hard drives have dropped substantially in
> > price... :(
> >
> > > Here is are some du lists - do any of the directories look unusally
> > > large?
> > >
> > > ]$ du / --max-depth=1 > /data/3.txt -m
> > >
> > > 1 /lost+found
> > > 13 /boot
> > > 322 /data
> > > 1 /dev
> > > 1 /proc
> > > 389 /var
> > > 1 /tmp
> > > 1224 /etc
> > > 4577 /usr
> > > 6 /bin
> > > 878 /home
> > > 1 /initrd
> > > 126 /lib
> > > 1 /mnt
> > > 22 /opt
> > > 2 /root
> > > 12 /sbin
> > > 1 /misc
> > > 1 /.automount
> > > 1 /tftpboot
> > > 74 /mp3
> > > 7641 /
> > >
> > > ]$ du /usr --max-depth=1 > /data/3.txt -m
> > > 212 /usr/bin
> > > 1087 /usr/lib
> > > 55 /usr/libexec
> > > 41 /usr/sbin
> > > 1263 /usr/share
> > > 200 /usr/X11R6
> > > 1 /usr/dict
> > > 1 /usr/etc
> > > 4 /usr/games
> > > 71 /usr/include
> > > 1512 /usr/local (mostly 2 video games - UT and Descent3)
> > > 118 /usr/src
> > > 6 /usr/kerberos
> > > 12 /usr/i386-glibc21-linux
> > > 1 /usr/doc
> > >
> > > 4577 /usr
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
--
"I'd rather chew my leg off than maintain Java code, which
sucks, 'cause I have a lot of Java code to maintain and the
leg surgery is starting to get expensive." - J. Knapka
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list