最終更新:2024-08-19 (月) 15:25:47 (148d)
chronyc sources
Top / chronyc sources
displays information about the current time sources that chronyd is accessing.
https://chrony-project.org/doc/4.5/chronyc.html
項目
項目 説明 値の説明 例 M mode of the source. ^ means a server
= means a peer
# indicates a locally connected reference clock^ S selection state of the source *: selected
+: selected other source
- selectable* Name/IP address ntp-a2.nict.go.jp Stratum 階層 1とか3 Poll 更新間隔(s) 2の階乗 6だとn^6=64s
10だとn^10=1024s (17分)Reach 到達可能性 377 (最後の8回すべてで有効な応答) LastRx? 最後に受信したサンプルがどれくらい前か (s) 488 Last sample 最後の測定におけるローカル クロックとソース間のオフセット
角括弧内の数字は、実際に測定されたオフセット
角括弧の左側の数字は、それ以降にローカル クロックに適用されたスルーを考慮して調整された元の測定値
+/-インジケーターの後の数字は、測定の誤差範囲-889us[-2963us] +/- 6946us
man
sources [-a] [-v] This command displays information about the current time sources that chronyd is accessing. If the -a option is specified, all sources are displayed, including those that do not have a known address yet. Such sources have an identifier in the format ID#XXXXXXXXXX, which can be used in other commands expecting a source address. The -v option enables a verbose output. In this case, extra caption lines are shown as a reminder of the meanings of the columns. MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== #* GPS0 0 4 377 11 -479ns[ -621ns] +/- 134ns ^? ntp1.example.net 2 6 377 23 -923us[ -924us] +/- 43ms ^+ ntp2.example.net 1 6 377 21 -2629us[-2619us] +/- 86ms The columns are as follows: M This indicates the mode of the source. ^ means a server, = means a peer and # indicates a locally connected reference clock. S This column indicates the selection state of the source. * indicates the best source which is currently selected for synchronisation. + indicates other sources selected for synchronisation, which are combined with the best source. - indicates a source which is considered to be selectable for synchronisation, but not currently selected. x indicates a source which chronyd thinks is a falseticker (i.e. its time is inconsistent with a majority of other sources, or sources specified with the trust option). ~ indicates a source whose time appears to have too much variability. ? indicates a source which is not considered to be selectable for synchronisation for other reasons (e.g. unreachable, not synchronised, or does not have enough measurements). The selectdata command can be used to get more details about the selection state. Name/IP address This shows the name or the IP address of the source, or reference ID for reference clocks. Stratum This shows the stratum of the source, as reported in its most recently received sample. Stratum 1 indicates a computer with a locally attached reference clock. A computer that is synchronised to a stratum 1 computer is at stratum 2. A computer that is synchronised to a stratum 2 computer is at stratum 3, and so on. Poll This shows the rate at which the source is being polled, as a base-2 logarithm of the interval in seconds. Thus, a value of 6 would indicate that a measurement is being made every 64 seconds. chronyd automatically varies the polling rate in response to prevailing conditions. Reach This shows the source’s reachability register printed as an octal number. The register has 8 bits and is updated on every received or missed packet from the source. A value of 377 indicates that a valid reply was received for all from the last eight transmissions. LastRx This column shows how long ago the last good sample (which is shown in the next column) was received from the source. Measurements that failed some tests are ignored. This is normally in seconds. The letters m, h, d or y indicate minutes, hours, days, or years. Last sample This column shows the offset between the local clock and the source at the last measurement. The number in the square brackets shows the actual measured offset. This can be suffixed by ns (indicating nanoseconds), us (indicating microseconds), ms (indicating milliseconds), or s (indicating seconds). The number to the left of the square brackets shows the original measurement, adjusted to allow for any slews applied to the local clock since. Positive offsets indicate that the local clock is ahead of the source. The number following the +/- indicator shows the margin of error in the measurement (NTP root distance).