systemctl-list-units
Verified for current stable LTS
Systemctl List Units Command: Filter Units By State
Use for filter units by state with Systemctl List Units. Exact CLI syntax to filter units by state using Systemctl List Units.
When to use this: Use for filter units by state with Systemctl List Units.
Command Syntax
systemctl list-units --state <running|listening|dead|...> systemctl list-units --state <running|listening|dead|...> Live Command Builder
Final Command
systemctl list-units --state <running|listening|dead|...> Command Breakdown
--state- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to filter units by state using Systemctl List Units.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Systemctl List Units Command: Filter Units By Name Pattern
systemctl list-units 'systemd*' Systemctl List Units Command: Filter Units By Type systemctl list-units -t <service|socket|timer|...> Systemctl List Units Command: List All Units systemctl list-units -a Systemctl List Units Command: List Units Active Pending Failed systemctl list-units Systemctl List Units Command: Print Output No Headers Footers systemctl list-units --no-legend