[ale] Re: du help?

ChangingLINKS.com x3 at ChangingLINKS.com
Wed Aug 14 20:38:19 EDT 2002


2nd guru AWARD: Geoffrey
Well, Geoffrey's command worked (not sure why at all) but it pointed out that 
the /home/drew/.xsession-errors file was alledgedly 842MB. I looked in the 
file and the content text and not that much. Next, I deleted the file, and 
the results show a drastic change HOWEVER, when I use the disk usage monitor, 
it does not seem as though I gained freespace. Could the .xsesion-errors file 
have been linked to other files that counted towards it's size?

]$ du -s /home/drew > /data/3.txt -m
897728	/home/user

]$ du -s /home/user/* /home/user/.??* > /data/3.txt -m
1	/home/user/gnuchessx-gnuchessx.pgn
1	/home/user/Mail
1	/home/user/nsmail
1	/home/user/.AbiSuite
1	/home/user/.bash_history
1	/home/user/.bash_logout
1	/home/user/.bash_profile
1	/home/user/.bashrc
1	/home/user/.calendar
1	/home/user/.cddbslave
1	/home/user/.chromium
1	/home/user/.chromium-score
0	/home/user/.DCOPserver_change
1	/home/user/.DCOPserver_change_:0
0	/home/user/.DCOPserver_change.home.here
0	/home/user/.DCOPserver_localhost.localdomain
1	/home/user/.emacs
1	/home/user/.esd_auth
1	/home/user/.fbhighscores
1	/home/user/.fbrc
13	/home/user/.galeon
1	/home/user/.gconf
1	/home/user/.gconfd
1	/home/user/.gftp
1	/home/user/.gimp-1.2
1	/home/user/.gnome
1	/home/user/.gnome-desktop
1	/home/user/.gnome_private
1	/home/user/.gnucash
1	/home/user/.gnupg
1	/home/user/.grip
1	/home/user/.gtk-gnutella
1	/home/user/.gtkrc
1	/home/user/.ICEauthority
5	/home/user/.kde
1	/home/user/.licq
11	/home/user/.loki
1	/home/user/.MCOP-random-seed
2	/home/user/.mozilla
1	/home/user/.nautilus
1	/home/user/.neditdb
1	/home/user/.netscape
1	/home/user/.opera
1	/home/user/.sawfish
1	/home/user/.screenrc
1	/home/user/.ssh
1	/home/user/.tuxracer
1	/home/user/.viminfo
1	/home/user/.wine
1	/home/user/.worker
1	/home/user/.xauth
1	/home/user/.Xauthority
1	/home/user/.xmms
842	/home/user/.xsession-errors
1	/home/user/.ymessenger






]$ du -s -m /home/user/* /home/user/.[^.]?* > /data/3.txt -m
1	/home/drew/gnuchessx-gnuchessx.pgn
1	/home/drew/Mail
1	/home/drew/nsmail
1	/home/drew/.AbiSuite
1	/home/drew/.bash_history
1	/home/drew/.bash_logout
1	/home/drew/.bash_profile
1	/home/drew/.bashrc
1	/home/drew/.calendar
1	/home/drew/.cddbslave
1	/home/drew/.chromium
1	/home/drew/.chromium-score
0	/home/drew/.DCOPserver_change
1	/home/drew/.DCOPserver_change_:0
0	/home/drew/.DCOPserver_change.home.here
0	/home/drew/.DCOPserver_localhost.localdomain
1	/home/drew/.emacs
1	/home/drew/.esd_auth
1	/home/drew/.fbhighscores
1	/home/drew/.fbrc
13	/home/drew/.galeon
1	/home/drew/.gconf
1	/home/drew/.gconfd
1	/home/drew/.gftp
1	/home/drew/.gimp-1.2
1	/home/drew/.gnome
1	/home/drew/.gnome-desktop
1	/home/drew/.gnome_private
1	/home/drew/.gnucash
1	/home/drew/.gnupg
1	/home/drew/.grip
1	/home/drew/.gtk-gnutella
1	/home/drew/.gtkrc
1	/home/drew/.ICEauthority
5	/home/drew/.kde
1	/home/drew/.licq
11	/home/drew/.loki
1	/home/drew/.MCOP-random-seed
2	/home/drew/.mozilla
1	/home/drew/.nautilus
1	/home/drew/.neditdb
1	/home/drew/.netscape
1	/home/drew/.opera
1	/home/drew/.sawfish
1	/home/drew/.screenrc
1	/home/drew/.ssh
1	/home/drew/.tuxracer
1	/home/drew/.viminfo
1	/home/drew/.wine
1	/home/drew/.worker
1	/home/drew/.xauth
1	/home/drew/.Xauthority
1	/home/drew/.xmms
842	/home/drew/.xsession-errors
1	/home/drew/.ymessenger

]$ gedit /home/drew/.xsession-errors (to delete text inside)
]$ rm /home/drew/.xsession-errors (the file was still 842 MB)

]$ du -s /home/drew > /data/3.txt -m
36	/home/drew  (The du says the directory is now 36MB, however, my total disk 
usage still only leaves 19% free space. Could the .xsesion-errors file have 
been linked to other files that counted towards it's size?
-- 
Wishing you Happiness, Joy and Laughter,
Drew Brown
http://www.ChangingLINKS.com

---
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