Root filesystem full: /var/log > 1.8 GB

Dotan Cohen dotancohen at
Mon Oct 13 21:06:03 UTC 2008

2008/10/13 Smoot Carl-Mitchell <smoot at>:
> The logs get rotated periodically.  Old logs are compressed, so you can
> do:
> cd /var/log
> ls -l *.gz

Thanks. After going through the ls manpage I modified that to "ls -lS
*.gz" to order them by size.

> and see how much space the old logs take up.  You can delete these files
> safely with "rm".  You can see the total space taken by all the logs by
> running:
> sudo du -s

Thanks, Smoot!

Dotan Cohen


More information about the ubuntu-users mailing list