HAProxy Enterprise Documentation 2.7r1

get var

Get attributes of a process-wide variable.

Description

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.

Examples

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.7/hapee-lb.sock
proc.arch: type=str value=<arch1>

See also


Next up

get weight