systemd
Table of Contents
If you want to send us your comments, please do so. Thanks
More on comments
systemd
journalctl
See also man journalctl
-b | -boot= | -1 the boot before last; -0 current, last, boot; 1 first boot |
-p | --priority= | Filter output by message priorities or priority ranges. Name or number can be used “emerg” (0) “alert” (1) “crit” (2) “err” (3) “warning” (4) “notice” (5) “info” (6) “debug” (7) If a single log level is specified:, all messages with this log level or a lower (hence more important) log level are shown If a range is specified, all messages within the range are shown, including both the start and the end value of the range |
-x | --catalog | add explanatory help texts |
Example
Show the log entries since boot, times in UTC
journalctl --boot --utc
Show the entry's of today
journalctl --since=today
Show the entry's for the spamd service
journalctl _SYSTEMD_UNIT=spamd.service
FAQ
Hide green messages
How to hide the lines, in green text, starting with “░░ ”?
jan 11 09:42:58 Hostname systemd[2367]: xfce4-notifyd.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ The unit UNIT has entered the 'failed' state with result 'exit-code'.
Solution: Use the appropriate --priority= option and / or omit the -x option. See above
systemctl
See also man systemctl
Command | Function |
---|---|
systemctl status | |
systemctl set-default multi-user.target | X-windows, the windowmanager will not run. Go to a terminal by pressing ALT-Fx where x is a number from 1 to and including 6 |
systemctl set-default graphical.target | The X windows windowmanager will run. You get a graphical interface |
systemctl --state=failed | |
systemctl list-unit-files --all | |
systemctl list-unit-files --state=failed --all | |
systemctl list-units --state=failed --all |
Other tools
Command | Function |
---|---|
udevadm | udev management tool. controls the runtime behavior of systemd-udevd |
systemd units
Service unit configuration
Understanding systemd units and unit files
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
systemd.txt · Last modified: 18-02-2024 18:44 by wim