A healthy diet for your Java application Devoxx France.pdf
How to debug systemd problems fedora project
1. 9/24/2014 How to debug Systemd problems - FedoraProject
How to debug Systemd problems
Foreword
If you are experiencing a problem with system boot up due to Systemd, please see the common bugs document
before filing a bug. Some easy configuration tweaks that fix a wide range of issues may be listed there. If the
problem you are seeing is not listed there or none of the workarounds seem to help, please consider filing a bug
to help us make Fedora run better on your hardware.
Debugging systemd problems
Follow the upstream wiki guide
To debug systemd problems please follow the helpful upstream wiki page on the topic:
http://freedesktop.org/wiki/Software/systemd/Debugging
Various useful systemd related commands
Run systemctl list-jobs
To identify slow boot and look for the jobs that are "running" those jobs are the ones where boot waits for
completion on and the ones that listed as "waiting" will be executed only after those which are "running" are
completed.
Run systemctl list-units -t service --all
To list all available services and their current status
Run systemctl list-units -t service
To show all active services
Run systemctl status sshd.service
To examine the current runtime status of a service. (In the above example the ssh service)
Run systemctl list-units -t target --all
To show all available targets.
Run systemctl list-units -t target
To show all active targets.
Run systemctl show -p "Wants" multi-user.target
To see which services a target pulls in. ( In the above example the multiuser.
target )
Run systemd --test --system --unit=multi-user.target
To examine what gets started when when booted into a specific target. ( In the above example the multiuser.
target
)
https://fedoraproject.org/wiki/How_to_debug_Systemd_problems 1/2