Systemctl
All active service
All running service
Specifiers available in unit files
Specifier | Meaning | Details |
" | Architecture | A short string identifying the architecture of the local system. A string such as |
" | Boot ID | The boot ID of the running system, formatted as string. See random(4) for more information. |
" | Operating system build ID | The operating system build identifier of the running system, as read from the |
" | Cache directory root | This is either |
" | Configuration directory root | This is either |
" | Unescaped filename | This is either the unescaped instance name (if applicable) with |
" | User group | This is the name of the group running the service manager instance. In case of the system manager this resolves to " |
" | User GID | This is the numeric GID of the user running the service manager instance. In case of the system manager this resolves to " |
" | User home directory | This is the home directory of the user running the service manager instance. In case of the system manager this resolves to " |
" | Host name | The hostname of the running system at the point in time the unit configuration is loaded. |
" | Instance name | For instantiated units this is the string between the first " |
" | Unescaped instance name | Same as " |
" | Final component of the prefix | This is the string between the last " |
" | Unescaped final component of the prefix | Same as " |
" | Short host name | The hostname of the running system at the point in time the unit configuration is loaded, truncated at the first dot to remove any domain component. |
" | Log directory root | This is either |
" | Machine ID | The machine ID of the running system, formatted as string. See machine-id(5) for more information. |
" | Full unit name | |
" | Full unit name | Same as " |
" | Operating system ID | The operating system identifier of the running system, as read from the |
" | Prefix name | For instantiated units, this refers to the string before the first " |
" | Unescaped prefix name | Same as " |
" | User shell | This is the shell of the user running the service manager instance. In case of the system manager this resolves to " |
" | State directory root | This is either |
" | Runtime directory root | This is either |
" | Directory for temporary files | This is either |
" | User name | This is the name of the user running the service manager instance. In case of the system manager this resolves to " |
" | User UID | This is the numeric UID of the user running the service manager instance. In case of the system manager this resolves to " |
" | Kernel release | Identical to uname -r output. |
" | Directory for larger and persistent temporary files | This is either |
" | Operating system version ID | The operating system version identifier of the running system, as read from the |
" | Operating system variant ID | The operating system variant identifier of the running system, as read from the |
" | Single percent sign | Use " |
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers
Last updated