systemd shutdown messages

Started by hypper, 2016/01/13, 21:09:19

Previous topic - Next topic

hypper

does anyone know how to read or save the shutdown messages of systemd?




cheers
mathias

bluelupo


hypper

i know journalctl, but i couln't find any message from the shutdown process. maybe i have to dig deeper into it.

ayla

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


Geier0815

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.
Wenn Windows die Lösung ist...
kann ich dann bitte das Problem zurück haben?

der_bud

Perhaps this article: "Diagnosing Shutdown Problems" in the documentation might be helpful.
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

hypper

thank you all. this is exactly what i was looking for.