ntpq
Query the Network Time Protocol (NTP) daemon. More information: https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html.
-
Start
ntpq
in interactive mode:
ntpq --interactive
-
Print a list of NTP peers:
ntpq --peers
-
Print a list of NTP peers without resolving hostnames from IP addresses:
ntpq --numeric --peers
-
Use
ntpq
in debugging mode:
ntpq --debug-level
-
Print NTP system variables values:
ntpq --command={{rv}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.