HAProxy Enterprise Documentation 2.4r1

get var

Get attributes of a process-wide variable.


Show the existence, type, and contents of the named process-wide variable. Only process-wide variables are readable, so the name must begin with proc.. Other names fail. This command requires a CLI level of operator or admin.


Get attributes of process-wide variable proc_maxconn:

$ echo "experimental-mode on; get var proc.arch" | \
   sudo socat stdio unix-connect:/var/run/hapee-2.4/hapee-lb.sock
proc.arch: type=str value=<arch1>

See also

Next up

get weight