Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
# journalctl
|
||||
|
||||
> Query the systemd journal
|
||||
> Query the systemd journal.
|
||||
|
||||
- Show all messages from this boot
|
||||
- Show all messages from this boot:
|
||||
|
||||
`journalctl -b`
|
||||
|
||||
- Show all messages from last boot
|
||||
- Show all messages from last boot:
|
||||
|
||||
`journalctl -b -1`
|
||||
|
||||
- Follow new messages (like `tail -f` for traditional syslog)
|
||||
- Follow new messages (like `tail -f` for traditional syslog):
|
||||
|
||||
`journalctl -f`
|
||||
|
||||
- Show all messages by a specific unit
|
||||
- Show all messages by a specific unit:
|
||||
|
||||
`journalctl -u {{unit}}`
|
||||
|
||||
- Show all messages by a specific process
|
||||
- Show all messages by a specific process:
|
||||
|
||||
`journalctl _PID={{pid}}`
|
||||
|
||||
- Show all messages by a specific executable
|
||||
- Show all messages by a specific executable:
|
||||
|
||||
`journalctl {{/path/to/executable}}`
|
||||
|
Reference in New Issue
Block a user