User Tools

Site Tools


systemd

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--catalogadd 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

CommandFunction
systemctl status
systemctl set-default multi-user.targetX-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.targetThe 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

CommandFunction
udevadmudev 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.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
systemd.txt · Last modified: 18-02-2024 18:44 by wim