HAProxy Enterprise Documentation 2.3r1

show env

Display current HAProxy Enterprise process and environment information.

Description

Use show env to show environment variables and information from the running configuration.

Examples

Query the Runtime API with show env to display environment information.

$ echo "show env" | socat /var/run/hapee-2.3/hapee-lb.sock stdio

LANG=C.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
NOTIFY_SOCKET=/run/systemd/notify
INVOCATION_ID=7a7ca4b99e3b4b928a33151b92f10614
JOURNAL_STREAM=9:12696369
CONFIG=/etc/hapee-2.3/hapee-lb.cfg
PIDFILE=/run/hapee-2.3-lb.pid
OPTIONS=
HAPROXY_LOCALPEER=haproxy1
HAPROXY_CFGFILES=/etc/hapee-2.3/hapee-lb.cfg
HAPROXY_MWORKER=1
HAPROXY_CLI=unix@/var/run/hapee-2.3/hapee-lb.sock;sockpair@7
HAPROXY_MWORKER_REEXEC=1

See also


Next up

show errors