systemd_journalctl

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
systemd_journalctl [19/08/2021 - 12:43] – ↷ Seitename wurde von systemd auf systemd_journalctl geändert thommie4systemd_journalctl [05/03/2024 - 10:52] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 +====== Systemd Doku ======
 +
 Doku: [[https://fedoraproject.org/wiki/How_to_debug_Systemd_problems|https://fedoraproject.org/wiki/How_to_debug_Systemd_problems]]\\ Doku: [[https://fedoraproject.org/wiki/How_to_debug_Systemd_problems|https://fedoraproject.org/wiki/How_to_debug_Systemd_problems]]\\
 [[https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files|https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files]] [[https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files|https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files]]
  
-====== Logging mit Journalctl ======+===== Systemctl ===== 
 + 
 +Alle services listen 
 + 
 +<code> 
 +systemctl list-units --type=service 
 +</code> 
 + 
 +Auf "active" filtern 
 + 
 +<code> 
 +systemctl list-units --type=service --state=active 
 +</code> 
 + 
 + 
 +oder Gesamtüberblick über alle, die gerade laufen 
 + 
 +<code> 
 +# systemctl list-units --type=service --state=running  
 +OR 
 +# systemctl --type=service --state=running 
 +</code> 
 + 
 +===== netstat ===== 
 + 
 +Welche Ports werden benutzt? 
 + 
 +<code> 
 +root@radius01:~# netstat -ltup | grep radius 
 +udp        0      0 0.0.0.0:53441           0.0.0.0:                          554/freeradius       
 +udp        0      0 0.0.0.0:18120           0.0.0.0:                          554/freeradius       
 +udp        0      0 0.0.0.0:radius          0.0.0.0:                          554/freeradius       
 +udp        0      0 0.0.0.0:radius-acct     0.0.0.0:                          554/freeradius       
 +udp6            0 [::]:radius             [::]:                             554/freeradius       
 +udp6            0 [::]:radius-acct        [::]:                             554/freeradius       
 +udp6            0 [::]:42906              [::]:                             554/freeradius     
 +</code> 
 + 
 +===== Journalctl =====
  
 Siehe [[https://www.freedesktop.org/software/systemd/man/systemd-analyze.html|https://www.freedesktop.org/software/systemd/man/systemd-analyze.html]] Siehe [[https://www.freedesktop.org/software/systemd/man/systemd-analyze.html|https://www.freedesktop.org/software/systemd/man/systemd-analyze.html]]
Zeile 61: Zeile 101:
  
 ''journalctl –utc '' ''journalctl –utc ''
 +
 ===== Journal Filtering by Time ===== ===== Journal Filtering by Time =====
  
  • systemd_journalctl.1629377019.txt.gz
  • Zuletzt geändert: 05/03/2024 - 10:52
  • (Externe Bearbeitung)