Linked Questions

32
votes
5answers
27k views

How do I minimize disk space usage

One of my machines is the 2GB EeePC Surf, a neat netbook with very limited resources. So limited that right now, I have 22MB free space left. On it, I'm running Arch Linux with the Openbox DE and a ...
32
votes
4answers
16k views

Cleaning up coredumpctl list

I'm looking for a way to remove any trace of old coredumps in coredumpctl list. At the moment it lists coredumps beginning at 2014-12-14 - I've updated software so often between then and now that I ...
25
votes
3answers
18k views

How do I clear journalctl entries for a specific unit only?

I spent a few days writing a python script, and creating a systemd unit file for it. During testing, the script logged a lot of errors to journald. I would like to clear those errors from journald now ...
7
votes
1answer
4k views

Whence does systemd determine the transient hostname?

In RHEL 7.2, systemd starts up and determines the host's hostname. If /etc/hostname is unavailable (ie, removed), and /etc/machine-info is unavilable, and the kernel is not configured with that ...
2
votes
1answer
3k views

Fedora 21 akmods.service long boot time

I updated from 20 to 21 today and while booting into 21 I noticed the boot time being really long. The result of systemd-analyze blame: http://pastie.org/9794252 systemctl status akmods.service: ● ...
13
votes
2answers
1k views

Remove single line from journalctl file

I have an Ubuntu 18.04 server that is running a service I'm developing. The output is being sent to the system journal for logging. I accidentally failed to sanitize some logging and a plaintext ...
1
vote
0answers
3k views

journalctl: unrecognized option '--vacuum-size= '

All environment info on my os. debian8@debian:~$ uname -a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux debian8@debian:~$ systemd --version systemd 215 +PAM ...
1
vote
1answer
263 views

How to detect and clean up junk journal files?

One of our Ubuntu 18.04 hosts was caught with 12 GB of *.journal files, far more than intended. Attempting to find out if they were worth keeping, I ran journalctl --file $f on each file older than ...
0
votes
1answer
84 views

journalctl log way too big?

I was perplexed to find that, when running for instance journalctl -f showed my logs to stop on Apr 20th, 8 months ago. I piped to less, journalctl | less and pressed G to go to the end, same thing. ...
0
votes
1answer
86 views

journalctl fails when run

> journalctl -b: -c: line 0: unexpected EOF while looking for matching `"' -b: -c: line 1: syntax error: unexpected end of file > systemctl status docker.service -b: -c: line 0: unexpected ...