Siduction Forum
Siduction Forum => Software - Support => Topic started by: hypper on 2016/01/13, 21:09:19
-
does anyone know how to read or save the shutdown messages of systemd?
cheers
mathias
-
Hi hypper,
you can watch the command journalctl see the log messages. More information with "man journalctl" and here:
https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs
http://0pointer.de/blog/projects/journalctl.html
-
i know journalctl, but i couln't find any message from the shutdown process. maybe i have to dig deeper into it.
-
You may try:
journalctl -b -1 -n250
where -b would show you the journal of the current bootup and -b -1 the journal of the one before. With -n250 your journalctl will show you the last 250 lines only. This is enough on my system to include every message from the system shutdown, the value on your system may differ a bit.
greets
ayla
-
If it's ok for you that you have to see all the messages of the system-start too, change the /etc/default/grub like
GRUB_CMDLINE_LINUX_DEFAULT="quiet systemd.show_status=true"
systemd.show_status=true is the important thing to see messages.
-
Perhaps this article: "Diagnosing Shutdown Problems (http://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1)" in the documentation might be helpful.
-
thank you all. this is exactly what i was looking for.