From 991f2a3932e831ccac609ba88f6e725b6c01acfe Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 11 Apr 2013 18:59:18 -0400 Subject: systemctl: new verb 'list-sockets' LISTEN UNIT ACTIVATES /dev/initctl systemd-initctl.socket systemd-initctl.service /dev/log systemd-journald.socket systemd-journald.service ... [::]:19531 systemd-journal-gatewayd.socket systemd-journal-gatewayd.service kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service 17 sockets listed. Pass --all to see loaded but inactive sockets, too. --- man/systemctl.xml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'man') diff --git a/man/systemctl.xml b/man/systemctl.xml index 97bc47ce24..1bd4af3386 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -172,6 +172,14 @@ along with systemd; If not, see . + + + + + When showing sockets, show the type of the socket. + + + @@ -479,6 +487,31 @@ along with systemd; If not, see . This is the default command. + + + list-sockets + + + List socket units ordered by the listening address. Produces output + similar to + +LISTEN UNIT ACTIVATES +/dev/initctl systemd-initctl.socket systemd-initctl.service +... +[::]:22 sshd.socket sshd.service +kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service + +5 sockets listed. + + Note: because the addresses might contains spaces, this output + is not suitable for programatic consumption. + + + See also the options , + , and . + + + start NAME... -- cgit v1.2.3-54-g00ecf