From 0aef9e75374a476b093051fab44a8a1f42ef3759 Mon Sep 17 00:00:00 2001 From: bonnie Date: Sat, 18 Jul 2020 22:53:12 +0800 Subject: [PATCH] System - Reading from journal file --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a51a8e1..6e8faf6 100644 --- a/README.md +++ b/README.md @@ -2086,10 +2086,12 @@ sar -B 2 5 sar -n ALL # reading SAR log file using -f -$ sar -f /var/log/sa/sa31|tail - - +sar -f /var/log/sa/sa31|tail +##### Reading from journal file +```bash +journalctl --file ./log/journal/a90c18f62af546ccba02fa3734f00a04/system.journal --since "2020-02-11 00:00:00" +``` ##### Show a listing of last logged in users. ```bash