661
you are viewing a single comment's thread
view the rest of the comments

Cleanup

Check current disk usage:

sudo journalctl --disk-usage

Use rotate function:

sudo journalctl --rotate

Or

Remove all logs and keep the last 2 days:

sudo journalctl --vacuum-time=2days

Or

Remove all logs and only keep the last 100MB:

sudo journalctl --vacuum-size=100M

How to read logs:

Follow specific log for a service:

sudo journalctl -fu SERVICE

Show extended log info and print the last lines of a service:

sudo journalctl -xeu SERVICE

[-] elxeno@lemm.ee 6 points 1 month ago

@RemindMe@programming.dev 6 months

[-] elxeno@lemm.ee 2 points 1 month ago

@ategon@programming.dev is the remindme bot offline?

[-] Ategon@programming.dev 3 points 1 month ago* (last edited 1 month ago)

Its semi broken currently and also functions on a whitelist with this community not being on the whitelist

[-] elxeno@lemm.ee 1 points 1 month ago
load more comments (26 replies)
this post was submitted on 01 Aug 2024
661 points (98.5% liked)

linuxmemes

20707 readers
3280 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS