I want to monitor the events and logs of systemd-journal. Didn't find any commands i can use for the same. I am looking for something like 'tail -100f' which can show me the decoded events of systemd-journal
Asked
Active
Viewed 504 times
2 Answers
3
The journalctl
utility displays logs from systemd units. systemd-journal
is a system unit. Therefore, you can use the following:
$ journalctl --unit systemd-journald --lines 100 --follow
Tested on CentOS 7.5

Alex
- 1,313
- 14
- 28
-
I'm glad it worked. One tip: this question belongs to serverfault.com. – Alex Jul 02 '20 at 11:41
-
oh okay. I will ensure this next time then :) – DockerNaughty Jul 02 '20 at 15:07