DEV Community

Cover image for One simple trick to clear a big /var/log/journal folder
Cezary Tomczyk
Cezary Tomczyk

Posted on

One simple trick to clear a big /var/log/journal folder

sudo journalctl --vacuum-size=100M and the folder size will be reduced to 100MB.

Interested in more details? Read about How do I clear a big /var/log/journal folder? with further details.

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay