mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Added Journalctl commands
This commit is contained in:
parent
95774db7c5
commit
efba736aee
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue