ntpdate
does not use the local ntpd
daemon. You can run it without ntpd
installed, configured or running. It does a one-time sync, sets the time, and exits.
In your case, since you added -d
, it actually doesn't even set the time.
The tool to query the status of ntpd
is ntpq
. What you are probably looking for is ntpq -p
, which will list the current peers/servers, along with a bit of information about them, like their stratum (how far away they are from a really good clock), when it was last seen, how often it is polled, reachability, delay, offset and jitter. It also tells you which server is currently used as a reference.
Example:
$ ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
+dedibox.demonge 145.238.203.14 2 u 916 1024 377 5.333 -0.549 2.322
+ns.daupheus.com 145.238.203.14 2 u 1020 1024 377 5.433 -0.408 0.485
*82-64-45-50.sub .GPS. 1 u 777 1024 377 14.359 -0.669 0.353
+ip139.ip-5-196- 145.238.203.14 2 u 213 1024 377 2.188 -0.723 0.758
-time.cloudflare 10.20.8.4 3 u 664 1024 377 5.483 0.066 0.398
+194.169.214.72 17.253.108.125 2 u 940 1024 377 5.915 -0.459 0.443
The current active reference is the one with the *
, which derives its time from GPS, and is stratum 1. There are a few other alternates +
at stratum 2 (they derive their time from another server which is stratum 1), and so on.