Skip to main content

Time sync diagnostics

v0.1.8

Clock-sync state: chrony tracking + sources, NTP peer status, current time, drift estimate, timezone, plus fix actions (chronyc makestep, enable/disable NTP). Use when a host's clock is drifting (a common cause of TLS / auth / log-correlation bugs).

5 allowed by default 2 need approval by default
Pack ID
time-sync
Vendor
emisar
OS
linux
Actions
7

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install time-sync --hash sha256:fa271a412ac92244b3a80c2ec8586c0e49ff2da5e83be19f958d61c2b72772d2

Actions 7 total

View on GitHub
  • time.chrony_sources exec low

    chronyc sources -v

    List NTP sources + reach + stratum + offset.

    View source on GitHub
  • time.chrony_tracking exec low

    chronyc tracking

    Show Chrony's view of clock drift, frequency, last update.

    View source on GitHub
  • time.chronyc_makestep exec high

    chronyc makestep

    Force chrony to step the system clock NOW instead of slewing. Use when drift exceeds slew tolerance and applications can't wait. Jumps in time can confuse cert validation, log timestamps, and event ordering.

    View source on GitHub
  • time.date_now exec low

    date -u

    Show UTC + local time + day-of-week. Compare against the requester's clock to spot drift.

    View source on GitHub
  • time.ntpq_peers exec low

    ntpq -pn

    List the NTP peer table (for systems still using ntpd rather than chrony).

    View source on GitHub
  • time.timedatectl exec low

    timedatectl status

    Show current time, timezone, NTP-active state, RTC sync state.

    View source on GitHub
  • time.timedatectl_set_ntp exec high

    timedatectl set-ntp <bool>

    Enable or disable NTP synchronization. Disabling is rare — primarily for offline testing.

    View source on GitHub