HATOP(1)
π HATOP β the manual, but make it make sense π
okay bestie, welcome to HATOP(1), from the General Commands Manual section of the library (yes she's filed under General Commands, she's that girl). HATop β an interactive ncurses client for haproxy. let's get into it π«Ά
β¨ SYNOPSIS β¨
hatop -s SOCKET [OPTIONS]
that's the whole vibe check. one required socket, everything else is optional π
πΈ DESCRIPTION πΈ
HATop is an interactive ncurses client β a real-time monitoring and statistics-displaying tool for the HAProxy TCP/HTTP load balancer. no cap.
Her whole aesthetic is basically top(1) but for haproxy, and honestly? iconic. She supports various modes so you can dig into detailed stats for all your configured proxies and services in near realtime. π
AND β and this is the part that really ate β she's got an interactive CLI for the haproxy unix socket. which means admins can control the given haproxy instance directly out of hatop, like:
- change server weight
- put servers into maintenance mode
- ...and more
all of it either via keybinds or straight through the CLI, and you get to watch the results update immediately. main character energy fr fr. π₯
HATop talks to HAProxy over a unix domain socket. you set that up in your HAProxy config with the "stats socket" option. and listen β if you want all of HATop's features to actually show up, you need to set the "level" parameter of that option to "admin". don't skip that part, bestie, or she's gonna be giving half the show. π
π OPTIONS π
--versionβ shows the version number and then exits. cute, quick, done. β¨-h,--helpβ shows the help message and exits.-s SOCKET,--unix-socket=SOCKETβ the path to the haproxy stats socket.-i INTERVAL,--update-interval=INTERVALβ update interval in seconds. valid range is1-30, default is3.-m MODE,--mode=MODEβ start in a specific mode. valid range is1-5, default is1.-n,--read-onlyβ disables the cli and only queries for stats. no touching, just watching. π
The following filter options may be given multiple times:
-f FILTER,--filter=FILTERβ stat filter, in the format"<iid> <type> <sid>".-p PROXY,--proxy=PROXYβ proxy filter, in the format"<pxname>".
π¦ KEYBINDS π¦
H,h,?β display the help screen. your little safety net π«ΆQ,qβ quit. bye bestie πTABβ cycle mode forwards.S-TABβ cycle mode backwards. (yes, backwards. we love a rewind)ESC-nβ switch to mode n, where n is the numeric mode id.ESCβ jump to the previous mode. take me back πENTERβ display the hotkey menu for the selected service.SPACEβ copy and paste the selected service identifier to the CLI. so handy, obsessed.UP/DOWN/PGUP/PGDOWN/HOME/ENDβ scroll the stat views to select a given service.
π HOTKEYS π
F4β restore initial server weight.F5β decrease server weight:- 10F6β decrease server weight:- 1F7β increase server weight:+ 1F8β increase server weight:+ 10F9β enable server (return from maintenance mode).F10β disable server (put into maintenance mode).
lowkey the F-keys are where the real power lives. weight goes up, weight goes down, servers get yeeted into maintenance and pulled right back out. queen behavior π
π SEE ALSO π
a much better documentation can be found online:
http://feurix.org/projects/hatop/
β AUTHOR β
HATop and this man page was written by John Feuerstein.
and that's the whole page, bestie π this version is HATOP(1) from the General Commands Manual, dated 19 August 2010. go forth, monitor your proxies, and slay β¨π
π¦ where this page comes from
- debian bookworm: hatop 0.8.2-1 Β· GPL-3.0-only
- debian trixie: hatop 0.8.2-2 Β· GPL-3.0-only
- ubuntu jammy: hatop 0.8.0-1.1 Β· GPL-3.0-only
- ubuntu noble: hatop 0.8.2-2 Β· GPL-3.0-only
- ubuntu questing: hatop 0.8.2-2
- ubuntu resolute: hatop 0.8.2-2build1 Β· GPL-3.0-only
- ubuntu stonking: hatop 0.8.2-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms