Skip to content

Commit cbc80c7

Browse files
authored
systemd-cat: add examples (#17754)
* systemd-cat: add examples
1 parent 833e0d8 commit cbc80c7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pages/linux/systemd-cat.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,15 @@
1010
- Write the output of a pipeline to the journal (`stderr` stays connected to the terminal):
1111

1212
`{{command}} | systemd-cat`
13+
14+
- Use the specified identifier (default: `cat` when reading from a pipeline, executable name otherwise):
15+
16+
`{{command}} | systemd-cat {{[-t|--identifier]}} {{id}}`
17+
18+
- Use the specified default priority level for all logged messages:
19+
20+
`systemd-cat {{[-p|--priority]}} {{emerg|alert|crit|err|warning|notice|info|debug}} {{command}}`
21+
22+
- Use the specified default priority level for the logged messages from the command's `stderr`:
23+
24+
`systemd-cat --stderr-priority {{emerg|alert|crit|err|warning|notice|info|debug}} {{command}}`

0 commit comments

Comments
 (0)