mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
Added Journalctl commands
This commit is contained in:
parent
95774db7c5
commit
efba736aee
@ -19,3 +19,14 @@ journalctl /usr/bin/dbus-daemon
|
||||
# Filter by PID
|
||||
journalctl _PID=123
|
||||
|
||||
# Filter by Command, e.g., sshd
|
||||
journalctl _COMM=sshd
|
||||
|
||||
# Filter by Command and time period
|
||||
journalctl _COMM=crond --since '10:00' --until '11:00'
|
||||
|
||||
# List all available boots
|
||||
journalctl --list-boots
|
||||
|
||||
# Filter by specific User ID e.g., user id 1000
|
||||
journalctl _UID=1000
|
Loading…
Reference in New Issue
Block a user