John writes: > This is a good way to find out "where" the storage is being used: > cd /var ; du -s * | sort -nr | more > That will give you a list, sorted from most storage to least, of > each directory (or file) at the /var level. You can then choose > to descend into one of those, and run the command again, to drill > deeper.
Technical notes: 1) given you're already at /var, the "*" is superfluous. 2) if you omit the -s, you get the "drilling down" for free: 47100 ./db 40126 ./db/pkg 13160 ./log 10738 ./log/samba 5554 ./mail 3688 ./spool 3656 ./spool/clientmqueue 2072 ./db/scrollkeeper 1648 ./db/clamav 1096 ./db/pkg/teTeX-texmf-2.0.2_3 796 ./db/pkg/linux_base-8-8.0_6 at the cost of a much longer list. I have it set up so this runs as a cron job and is waiting in the morning e-mail. Robert Huff _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"