systemctl-show
Show unit properties in machine-readable format
TLDR
SYNOPSIS
systemctl show [OPTIONS] [PATTERN...|JOB...]
DESCRIPTION
systemctl show displays properties of units, jobs, or the service manager itself in a machine-readable format. Without arguments, it shows properties of the service manager.The output is suitable for parsing by scripts. Use `systemctl status` for human-readable output.
PARAMETERS
--user
Show user service manager properties-a, --all
Include empty properties-p, --property= NAME
Show only specified properties--value
Print only the value, skip property name and "=" (useful with -p)--no-pager
Disable pager
COMMON PROPERTIES
ActiveState - Current state (active, inactive, failed, activating, deactivating)LoadState - Load state (loaded, not-found, error, masked)SubState - More fine-grained state (running, dead, exited, etc.)MainPID - Main process IDExecMainStartTimestamp - Start timeWants, Requires, Conflicts - Unit dependency propertiesFragmentPath - Path to the unit file
CAVEATS
Output format is key=value pairs. Some properties may be empty. For human-readable format, use `systemctl status` instead.
HISTORY
The show subcommand provides machine-parseable property access, enabling scripted queries and monitoring integration.
SEE ALSO
systemctl-status(1), systemctl-set-property(1), systemctl(1)
