Reference

show dev

On this page

Available since

  • HAProxy 2.9
  • HAProxy Enterprise 2.9r1

Show platform and environment details.

Description Jump to heading

Query the Runtime API with show dev to display platform and environment information. This information is useful for the HAProxy Technologies development and support teams. The output may change from version to version.

The information returned by this command can also be found in the core file produced by a crash. The show dev command makes the information available for processes that have not crashed and left core files.

If anonymizing is enabled, sensitive values, such as node name, are anonymized as well.

Examples Jump to heading

Show details for developers.

nix
echo "show dev" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show dev" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
Platform info
machine vendor: To be filled by O.E.M
machine family: Altra
cpu model: Impl 0x41 Arch 8 Part 0xd0c r3p1
virtual machine: no
container: no
OS name: Linux
OS release: 6.2.0-36-generic
OS version: #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 18:01:07 UTC 2
OS architecture: aarch64
node name: 489aaf
Process info
pid: 1735846
boot uid: 509
boot gid: 1002
fd limit (soft): 1024
fd limit (hard): 1048576
output
text
Platform info
machine vendor: To be filled by O.E.M
machine family: Altra
cpu model: Impl 0x41 Arch 8 Part 0xd0c r3p1
virtual machine: no
container: no
OS name: Linux
OS release: 6.2.0-36-generic
OS version: #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 18:01:07 UTC 2
OS architecture: aarch64
node name: 489aaf
Process info
pid: 1735846
boot uid: 509
boot gid: 1002
fd limit (soft): 1024
fd limit (hard): 1048576

As of version 3.1, show dev also includes information about arguments provided on the command line, capabilities set at process start, and current capabilities, as shown in the example below:

output
text
HAProxy version 3.1.0-f2b9791
Features
[...]
Build options
[...]
Platform info
[...]
Process info
pid: 8
cmdline: haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg
boot uid: 0
runtime uid: 0
boot gid: 0
runtime gid: 0
boot capabilities:
CapEff: 0x00000000a80425fb
CapPrm: 0x00000000a80425fb
CapInh: 0x0000000000000000
runtime capabilities:
CapEff: 0x00000000a80425fb
CapPrm: 0x00000000a80425fb
CapInh: 0x0000000000000000
boot limits:
fd limit (soft): 1048576
fd limit (hard): 1048576
ram limit (soft): unlimited
ram limit (hard): unlimited
runtime limits:
fd limit (soft): 1048576
fd limit (hard): 1048576
ram limit (soft): unlimited
output
text
HAProxy version 3.1.0-f2b9791
Features
[...]
Build options
[...]
Platform info
[...]
Process info
pid: 8
cmdline: haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg
boot uid: 0
runtime uid: 0
boot gid: 0
runtime gid: 0
boot capabilities:
CapEff: 0x00000000a80425fb
CapPrm: 0x00000000a80425fb
CapInh: 0x0000000000000000
runtime capabilities:
CapEff: 0x00000000a80425fb
CapPrm: 0x00000000a80425fb
CapInh: 0x0000000000000000
boot limits:
fd limit (soft): 1048576
fd limit (hard): 1048576
ram limit (soft): unlimited
ram limit (hard): unlimited
runtime limits:
fd limit (soft): 1048576
fd limit (hard): 1048576
ram limit (soft): unlimited

Do you have any suggestions on how we can improve the content of this page?