Systemd journald: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) (→Links) |
||
| Zeile 24: | Zeile 24: | ||
=Links= | =Links= | ||
*http://www.linux-magazin.de/Ausgaben/2016/02/Systemd-Journal | *http://www.linux-magazin.de/Ausgaben/2016/02/Systemd-Journal | ||
| + | *https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs | ||
Version vom 19. Oktober 2017, 20:29 Uhr
Logs seit dem letzten booten
- journalctl -b
Logs seit dem letzten booten wie tail -f
- journalctl -b -f
Logs vom Typ warn
- journalctl -b -f -p warn
Logs vom Typ err
- journalctl -b -f -p err
Anzeigen der System Units
- journalctl -F _SYSTEMD_UNIT
Logs vom Oct 15 bis Oct 16 20:59:59
- journalctl --since=2017-10-15 --until="2017-10-16 20:59:59"
Logs von 9 bis 10
- journalctl -u puppet --since=8:00 --until=10:00
Logs von icinga2 von 9:00 bis 9:07
- journalctl -u icinga2 --since=9:00 --until=9:07
Anzeigen aller Metadaten
- journalctl -o verbose -n
Filtern nach EXE
- journalctl _EXE=/usr/bin/sudo
Filtern nach UID
- journalctl _UID=1000