Monday, February 15, 2010

Linux Nibbles Number 1

Where has all my disk space gone on my linux box?

login as root and "du -x / | sort -n | tail -10"

My home linux example on my debian lenny (5.0) server (running under virtualbox)

du -x / | sort -n | tail -10
89656 /usr/local/webmin
89704 /usr/local
140544 /var/cache/apt/archives
140776 /tmp
159692 /var/cache/apt
165380 /var/cache
190484 /usr/share
248276 /var
395552 /usr
890608 /

No comments: