Reference
get var
On this page
Available since
- HAProxy 2.4
- HAProxy Enterprise 2.4r1
Get attributes of a process-wide variable.
Description Jump to heading
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 Jump to heading
Get attributes of process-wide variable proc_arch
:
nix
echo "get var proc.arch" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "get var proc.arch" | \sudo socat stdio tcp4-connect:127.0.0.1:9999
outputtext
proc.arch: type=str value=<arch1>
outputtext
proc.arch: type=str value=<arch1>
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?