commit 35cf8ba2f9448bd55bc8364be43cea531bb05ce4 parent 2893c04f1c956632e8c2c12d24a71c9b26174747 Author: pyratebeard <root@pyratebeard.net> Date: Mon, 25 Nov 2024 21:45:42 +0000 updates updates Diffstat:
M | linux/journalctl.md | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/linux/journalctl.md b/linux/journalctl.md @@ -34,4 +34,10 @@ journalctl _SYSTEMD_UNIT=gdm.service --since yy-mm-dd sudo grep -A1 "plugin=panel" /home/<user>/.kde/share/config/plasma-desktop-appletsrc ``` +clear old logs +``` +journalctl --vacuum-time=2d #retain last 2 days +journalctl --vacuum-size=500M #retain last 500MB +``` + [systemctl](systemctl)