HAProxy Enterprise Documentation 2.3r1

prompt

Initiate an interactive session with the Runtime API.

Note

On some Linux distributions such as Debian and Ubuntu, socat does not support readline.

Description

Using prompt, you can begin an interactive session wherein you can enter commands without needing to reconnect to the API each time.

Examples

  1. Access the socat READLINE address to connect to the API, then enter the prompt command, as shown below:

$ sudo socat readline /var/run/hapee-2.3/hapee-lb.sock
  prompt
  > help

See also


Next up

quit