Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  systemd shutdown messages  (Read 15081 times)

hypper

  • Guest
systemd shutdown messages
« on: 2016/01/13, 21:09:19 »
does anyone know how to read or save the shutdown messages of systemd?




cheers
mathias

Offline bluelupo

  • User
  • Posts: 2.068
    • BluelupoMe
Re: systemd shutdown messages
« Reply #1 on: 2016/01/13, 22:18:27 »
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

hypper

  • Guest
Re: systemd shutdown messages
« Reply #2 on: 2016/01/14, 09:01:57 »
i know journalctl, but i couln't find any message from the shutdown process. maybe i have to dig deeper into it.

Offline ayla

  • User
  • Posts: 1.744
Re: systemd shutdown messages
« Reply #3 on: 2016/01/14, 09:24:20 »
You may try:
Code: [Select]
journalctl -b -1 -n250where -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


Offline Geier0815

  • User
  • Posts: 586
Re: systemd shutdown messages
« Reply #4 on: 2016/01/14, 10:33:09 »
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
Code: [Select]
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?

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: systemd shutdown messages
« Reply #5 on: 2016/01/14, 12:14:58 »
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

  • Guest
Re: systemd shutdown messages
« Reply #6 on: 2016/01/15, 08:44:46 »
thank you all. this is exactly what i was looking for.