mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
System
- Reading from journal file
This commit is contained in:
parent
fdae9e9013
commit
0aef9e7537
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user