systemctl
Verified for current stable LTS
Systemctl Command: List Units By State Linux
Use for list units by state linux with Systemctl. Exact CLI syntax to list units by state linux using Systemctl.
When to use this: Use for list units by state linux with Systemctl.
Command Syntax
systemctl list-units -t <service|socket|automount|...> --state <failed|running> systemctl list-units -t <service|socket|automount|...> --state <failed|running> Live Command Builder
Final Command
systemctl list-units -t <service|socket|automount|...> --state <failed|running> Command Breakdown
-t- Command Option
- Tool-specific option used by this command invocation.
--state- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to list units by state linux using Systemctl.
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 Command: Check Unit Status Linux
systemctl <is-active|is-enabled|is-failed> <unit> Systemctl Command: Enable Disable Unit Linux systemctl <enable|disable> <unit> Systemctl Command: List Failed Units Linux systemctl --failed Systemctl Command: Manage Service Linux systemctl <start|stop|restart|reload|status> <unit> Systemctl Command: Reload Systemd Daemon Linux systemctl daemon-reload