talira

chronytop

A TUI for chrony NTP time server monitoring

open sourceMITfree

chronytop is a terminal dashboard for chrony NTP servers, in the style of btop++, by Jeff Geerling. It graphs NTP requests per second and shows chronyd's server counters, the clients it rate-limits most, sources, tracking, bandwidth, and CPU and memory use, in panels that resize with the terminal and can be shown or hidden. It's a single static Go binary for Linux that talks to chronyd over its Unix command socket, or over UDP to monitor another server with -host, so chronyc isn't needed. The server and offenders panels need root or chrony 4.7's opencommands setting.

Problems it solves

  • I run a public NTP server and want to watch requests per second live in the terminal
  • see which NTP clients chrony is rate limiting the most on my time server
  • check chrony's sources and tracking at a glance without running several chronyc commands
  • monitor a remote chrony server's stats from my workstation
  • a btop-style dashboard for my Raspberry Pi time server

Features

  • graph of NTP requests per second
  • server counters and the most rate-limited clients (offenders)
  • sources, tracking and bandwidth panels
  • CPU and memory use, including chronyd's
  • panels that resize and can be shown or hidden
  • remote monitoring over UDP with -host
  • talks to chronyd's command socket directly; no chronyc needed
  • single static binary with no dependencies outside Go's standard library

Capabilities

Has a command line toolplan not known