On Thursday 07 February 2008 12:20:50 Greg Freemyer wrote:
All,
I'm running low on space on root, so I just ran cd /; du -shx *
I was expecting the -x to cause my mount points to be ignored. No such luck and I can see that since I explicitly am including /home etc. I'm going to get results for that.
Anyone know a simple way to say "how big are the subdirectories on my root partition?"
Try: du -hx --max-depth=1 / root@shuttle:~# du -hx --max-depth=1 / 4.5M /bin 0 /dev 13M /etc 236M /lib 0 /mnt 118M /opt 0 /srv 16M /tmp 0 /sys 398M /var 2.2G /usr 36M /boot 0 /home 0 /proc 6.2M /sbin 1.1M /root 40K /media 0 /initrd 3.0G / -- Jim Barnes -- Certainly the game is rigged. Don't let that stop you; if you don't bet, you can't win. -Lazarus Long -- Linux 2.6.20-16-generic -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org