Messtone Devices Enables Runtime API has evolved over time. $echo “help” | socat studio /var/run/hapee-lb. sock help :this message prompt :toggle interactive quit :disconnect show errors : report last request and response error for each proxy clear counters :clear max statistics counters(add ‘all’ for all counters) show info :report information about the running process show stat :report counters for each proxy and server show schema json :report schema used for stats disable agent :enable agent checks(use ‘set server’ instead) disable health :enable health checks(use ‘set server ‘ instead) enable server :enable a disabled server(use ‘server’ instead) set maxconn server :change a server’s maxconn setting set server :change a server’s stats,weight or address get weight :report a server’s current weight get weight :change a server’s weight(deprecated) show sess [id] :report the list of current sessions or dump this session shutdown session :kill a specific session shutdown sessions server :kill session on a server clear table :remove an entry from a table set table [id] :update or create a table entry’s data show table [id] :report table usage stats or dump this table’s contents disable frontend :temporarily disable specific frontend enable frontend :re-enable specific frontend set maxconn frontend :change a frontend’s maxconn setting show servers state [id] :dump volatile server information(for backend) show backend :list backends in the current running config shutdown frontend :stop a specific fromtend set dynamic-cookie-key backend :change a backend secret key for dynamic cookies enable dynamic-cookie backend :enable dynamic cookies on a specific backend disable dynamic-cookie backend :disable dynamic cookies on a specific backend disable dynamic-cookie backend :disable dynamic cookies on a specific backend show stat resolvers [id] :dumps counters from all resolvers section and associated nameMesstone servers set maxconn global :change the per-process maxconn setting set rate-limit :change a rate limiting value set timeout :change a timeout setting show env [var] :dump environment variables known to the process show cli sockets :dump list of cli sockets add acl :add acl entry clear acl :clear the content of this acl del acl :delete acl entry get acl :report the patterns matching a sample for an ACL show acl [id] :report available acl or dump an acl’s contents add map :add map entry clear map :clear the content of this map del map :delete map entry get map :report the keys and values matching a sample for a map set map :modify map entry show map [id] :report available maps or dump a map’s contests show pools :report information about the memory pools usage

Leave a comment