Difference between revisions of "Systemd-cat"
Jump to navigation
Jump to search
↑ https://www.freedesktop.org/software/systemd/man/systemd-cat.html
↑ https://wiki.ubuntu.com/DebuggingSystemd
Tags: Mobile web edit, Mobile edit |
(→Usage) |
||
Line 6: | Line 6: | ||
** <code>echo "TEXT TO LOG" | systemd-cat -p info</code> | ** <code>echo "TEXT TO LOG" | systemd-cat -p info</code> | ||
* <code>systemd-cat -p info -t TEXT</code> | * <code>systemd-cat -p info -t TEXT</code> | ||
− | + | -p, --priority options: "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug" | |
− | |||
== Related commands == | == Related commands == |
Revision as of 14:04, 17 June 2020
systemd-cat
[1] write everything it reads from standard input (stdin
) to systemd journal
Usage
echo "TEXT TO LOG" | systemd-cat
echo "TEXT TO LOG" | systemd-cat -p info
systemd-cat -p info -t TEXT
-p, --priority options: "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"
Related commands
See also
- Linux logging, Cisco IOS logging
- Systemd:
systemctl
,systemd-journald
,journalctl
systemd-cat
,systemd-logind
,systemd-networkd
:networkctl
,systemd-timesyncd
,systemd-resolved
,systemd-udevd
[2],Systemd-logind: loginctl
,hostnamectl
,udevadm
,systemd-run
,portablectl
,systemd-nspawn
, systemd resource management, Timer (systemd), systemd logs,/etc/systemd/
, systemd services,systemd-mount
,/run/systemd/
,.service
,/usr/lib/systemd/
,/usr/lib/systemd/system/
,/usr/lib/systemd/system/systemd-resolved.service
,/lib/systemd/
, machinectl, systemd-oomd, systemd-analyze
Advertising: