Reference

show env

Display current load balancer process and environment information.

Description Jump to heading

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

Examples Jump to heading

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

bash
echo "show env" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
bash
echo "show env" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
bash
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.8/hapee-lb.cfg
PIDFILE=/run/hapee-2.8-lb.pid
OPTIONS=
HAPROXY_LOCALPEER=haproxy1
HAPROXY_CFGFILES=/etc/hapee-2.8/hapee-lb.cfg
HAPROXY_MWORKER=1
HAPROXY_CLI=unix@/var/run/hapee-2.8/hapee-lb.sock;sockpair@7
HAPROXY_MWORKER_REEXEC=1
output
bash
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.8/hapee-lb.cfg
PIDFILE=/run/hapee-2.8-lb.pid
OPTIONS=
HAPROXY_LOCALPEER=haproxy1
HAPROXY_CFGFILES=/etc/hapee-2.8/hapee-lb.cfg
HAPROXY_MWORKER=1
HAPROXY_CLI=unix@/var/run/hapee-2.8/hapee-lb.sock;sockpair@7
HAPROXY_MWORKER_REEXEC=1

See also Jump to heading

If this page was useful, please, Leave the feedback.

© 2023 HAProxy Technologies, LLC. All Rights Reserved
Manage Cookie Preferences