Linux systemd and Service Processes/Run process in transient scope

Run an interactive process in its own transient scope unit.

Section: Transient Units and Resource Controls

Run process in transient scope

bash
bash
systemd-run --scope htop
Explanation

Run an interactive process in its own transient scope unit.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Transient Units and Resource Controls
Run transient service
Launch a one-off command as a transient service unit.
OpenIn sheetbashsame section
Set CPU quota on service
Apply runtime resource-control properties to a unit.
OpenIn sheetbashsame section
Set memory cap on service
Limit service memory through cgroup controls.
OpenIn sheetbashsame section
Show service status
Show status, recent logs, and the service main PID.
Start a service
Start a service unit.
Show cgroup tree
Display control groups and the processes inside them.