清楚systemd的日志文件
仅保留过去两天的日志文件:
journalctl --vacuum-time=2d
仅保留过去的500 MB:
journalctl --vacuum-size=500M
源链接:
https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl
仅保留过去两天的日志文件:
journalctl --vacuum-time=2d
仅保留过去的500 MB:
journalctl --vacuum-size=500M
源链接:
https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl