From 511321658317b079eee5c2e380cc904959a53653 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Fri, 16 Dec 2016 16:38:58 +0100 Subject: [PATCH] DOC: cli: show cli sockets Add documentation for 'show cli sockets' on the CLI. --- doc/management.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/management.txt b/doc/management.txt index f95dab234..683b99790 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -1674,6 +1674,23 @@ set weight / [%] "admin". Both the backend and the server may be specified either by their name or by their numeric ID, prefixed with a sharp ('#'). +show cli sockets + List CLI sockets. The output format is composed of 3 fields separated by + spaces. The first field is the socket address, it can be a unix socket, a + ipv4 address:port couple or a ipv6 one. Socket of other types won't be dump. + The second field describe the level of the socket: 'admin', 'user' or + 'operator'. The last field list the processes on which the socket is bound, + separated by commas, it can be numbers or 'all'. + + Example : + + $ echo 'show cli sockets' | socat stdio /tmp/sock1 + # socket lvl processes + /tmp/sock1 admin all + 127.0.0.1:9999 user 2,3,4 + 127.0.0.2:9969 user 2 + [::1]:9999 operator 2 + show env [] Dump one or all environment variables known by the process. Without any argument, all variables are dumped. With an argument, only the specified