systemctl list-sockets
List active socket units currently in memory, ordered by listening address. See also:
systemctl list-units,systemctl list-unit-files. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#list-sockets PATTERN….
- List active socket units currently in memory:
systemctl list-sockets
- List active socket units with their socket types:
systemctl list-sockets --show-types
- List all socket units, including inactive and failed ones:
systemctl list-sockets
- List socket units filtered by state:
systemctl list-sockets --state
- List socket units matching a name pattern:
systemctl list-sockets
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
