systemd-analyze, systemd-run: update page (#10105)
* systemd-run: change 'executable' placeholders to 'command' for consistency * systemd-analyze: update page * systemd-run: remove double space
This commit is contained in:
@@ -25,12 +25,12 @@
|
||||
|
||||
- Share the terminal with the program (allowing interactive input/output) and make sure the execution details remain after the program exits:
|
||||
|
||||
`systemd-run --remain-after-exit --pty {{executable}}`
|
||||
`systemd-run --remain-after-exit --pty {{command}}`
|
||||
|
||||
- Set properties (e.g. CPUQuota, MemoryMax) of the process and wait until it exits:
|
||||
|
||||
`systemd-run --property MemoryMax={{memory_in_bytes}} --property CPUQuota={{percentage_of_CPU_time}}% --wait {{executable}}`
|
||||
`systemd-run --property MemoryMax={{memory_in_bytes}} --property CPUQuota={{percentage_of_CPU_time}}% --wait {{command}}`
|
||||
|
||||
- Use the program in a shell pipeline:
|
||||
|
||||
`{{executable1}} | systemd-run --pipe {{executable2}} | {{executable3}}`
|
||||
`{{command1}} | systemd-run --pipe {{command2}} | {{command3}}`
|
||||
|
Reference in New Issue
Block a user