echo 'show servers state web-backend' | socat stdio /run/haproxy/admin.sock

Category: Web Servers & Proxies

echo 'show servers state web-backend' | socat stdio /run/haproxy/admin.sock

Show per-server state for an HAProxy backend

Lists each server in the web-backend pool with its administrative and operational state, such as UP, DOWN, or MAINT. Useful for confirming which nodes are in rotation after a deploy or maintenance window. Server names appear as backend/server pairs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.