Malin hat die Gist bearbeitet . Zu Änderung gehen
1 file changed, 6 insertions
flush-journal.sh(Datei erstellt)
| @@ -0,0 +1,6 @@ | |||
| 1 | + | # from: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl | |
| 2 | + | ||
| 3 | + | journalctl --flush --rotate --vacuum-time=1s | |
| 4 | + | journalctl --user --flush --rotate --vacuum-time=1s | |
| 5 | + | journalctl --vacuum-time=2d | |
| 6 | + | journalctl --vacuum-size=500M | |
Neuer
Älter