How Do You Determine if HAProxy is up and Running or Not?

Problem scenario
HAProxy can be a load balancer or reverse proxy server. You want to know if HAProxy is running or not from the back-end of the Linux server. How do you determine HAProxy's status?

Solution
Run this command: sudo /etc/init.d/haproxy status

Leave a comment

Your email address will not be published. Required fields are marked *