[mdlug] WTF /var/log

Carl T. Miller carl at carltm.com
Fri Jul 1 09:36:37 EDT 2011


Robert Jim Fulner wrote:
> Is my conjecture accurate? What's the best way to go from here to get
> useable space back without screwing up my system in the process.

Very likely accurate.  I'd suggest finding out what files
are taking up all the room.  You can then figure out which
ones are safe to delete.

I start by changing to the directory I'm concerned about or
to the mount point of that directory:  cd /var/log

Then find out which files/directories are the worst offenders:
du -sk -- * | sort -n

To further investigate a given directory, change to that directory
and hit the up arrow twice.

Happy hunting!

c





More information about the mdlug mailing list