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'
--vacuum-size=
and--vacuum-time=
were added insystemd
v.218
– don_crissti May 04 '17 at 10:09find
thing. Is it really save to delete the .journal files manually? – David Oct 11 '17 at 22:23--vacuum-size=
and--vacuum-time=
write-only parameters? it's impossible to google how to get them – quant2016 May 16 '23 at 08:34