Files
gitea-pages/admin-guide/troubleshooting/systemd.md
2024-08-07 16:15:29 +02:00

885 B

Systemd

  • List status of services
# list status of all services
systemctl status

# list status specific service
systemctl status yourservice
  • List all systemd timers:
systemctl list-timers
    NEXT                          LEFT          LAST                          PASSED  UNIT                         ACTIVATES
    Wed 2018-06-27 16:45:01 CEST  2h 16min left Tue 2018-06-26 16:45:01 CEST  21h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
    Thu 2018-06-28 07:31:00 CEST  17h left      Wed 2018-06-27 07:31:25 CEST  6h ago  pli-puppet-run.timer         pli-puppet-run.service

    2 timers listed.
    Pass --all to see loaded but inactive timers, too.

Logs

All systemd logs end up in journald. One important exception is sssd which provides authentication against Active Directory. Its logs can be found in /var/log/sssd.