Chronytop - a TUI for chrony monitoring

I’ve been using chrony on all my NTP servers for a year or two now, and most of my monitoring involves switching watch commands between various chronyc commands like tracking, sources, etc.

I though, there must be some tool for that which puts everything together already, something like btop but for Chrony or NTPd generally… but I couldn’t find anything.

So I initially started building ntptop in Python (with a bit of assistance from Claude), and liked what I had. But I realized I want this to run on all my chrony servers, not just my public NTP server, so I had Claude port it to Go (I’m much more of a noob at Go versus Python, so my code review leaned more on automated checks). I put it up at https://github.com/geerlingguy/chronytop in case anyone else would like to try it.

Here it is in action:

chronytop

GitHub has builds for most architectures, though I have only tested on Debian/Ubuntu so far. The other benefit of running in Go is CPU usage for the tool is only in the 1-2% range versus 5-10% for the Python version I was running.

I apologize if slop-assisted tools are not allowed here, I just wanted to share this tool as it’s been helpful already in my own monitoring, especially seeing the top ‘offenders’ without having to remember the command to bring those up (sudo chronyc -n clients -p 100 | sort -k3 -nr | head -20).

Looks great! Here’s another action shot:

Works for me, amazing job! Thanks.

Looks even better on your terminal! The character used for the graph is a little funky in some terminals.

It’s just the standard CLI command: ssh 192.168.1.xx and then run chronytop

I’m using Linux Mint Mate-desktop, nothing special.

Maybe you run putty or so?

Edit: Just tested…it’s Putty doing that, maybe others too see:

Yeah, in my case it’s Mac OS X Terminal running over SSH.

Sorry don’t know MacOS, I have played with it a long time ago.

But weird it looks so different.

I suspect it to be the font being used, not compatible or unknown to other SSH-clients.