1

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 +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR

My journald.conf configuration.

sudo cat /etc/systemd/journald.conf | grep -v "#"

[Journal]
Storage=persistent
Compress=yes
Seal=yes
SyncIntervalSec=5m
SystemMaxUse=100M
SystemMaxFileSize=100M

How many journals info on my pc.

sudo journalctl --disk-usage
Journals take up 8.0M on disk.

Now to retain only 4M with such command as below.

sudo journalctl --vacuum-size=1M
journalctl: unrecognized option '--vacuum-size=1M'
sourcejedi
  • 50,249
showkey
  • 323

0 Answers0