bschelst/ January 19, 2017/ Linux/ 0 comments

You can use the following command, as superuser, to clear the systemd logs:

Keep the last 7 days:

journalctl --vacuum-time=7d


Keep the last 100Mb:

journalctl --vacuum-size=100M

 

 

 

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*

eleven + 1 =