ntpq

Query the Network Time Protocol (NTP) daemon.

TLDR

Start ntpq in interactive mode

$ ntpq --interactive
copy

Print a list of NTP peers

$ ntpq --peers
copy

Print a list of NTP peers without resolving hostnames from IP addresses

$ ntpq --numeric --peers
copy

Use ntpq in debugging mode

$ ntpq --debug-level
copy

Print NTP system variables values

$ ntpq --command=[rv]
copy

Copied to clipboard
Dodo Farming