Disk usage analysis

Jerry McAllister jerrymc at msu.edu
Wed Apr 22 14:30:48 UTC 2009


On Tue, Apr 21, 2009 at 08:08:18PM -0700, Christopher Chambers wrote:

> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?

Check out the du(1) command.

Go in to a file system and type du -sk *   or  maybe  du -sh * 
(I prefer the former because then all numbers have the same value)

Once you determine some directory that seems out of line, go in to that
directory and do it again.

////jerry


> 
> -- 
> Christopher Chambers <cchamb0 at interchange.ubc.ca>
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list