4

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

DockerNaughty
  • 163
  • 1
  • 5

2 Answers2

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
0
journalctl -u gunicorn | tail -n 100
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
javed
  • 1
  • 1