我已经完成ntpq
,然后运行associations
并收到以下内容:
ind assid status conf reach auth condition last_event cnt
===========================================================
1 12097 c811 yes none yes reject mobilize 1
从man ntp-decode
(Peer Status)的文档中,我了解到第一个数字表示Status
,第二个Select
,第三个Count
和第四个Code
。
我试图找到 Select Status
本手册的部分并找到以下内容:
The Select Field displays the current selection status. (The T Field in the following table gives the corresponding tally codes used in the ntpq peers dis-
play.) The values are coded as follows:
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| Code | Message | T | Description |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 0 | sel_reject | | discarded as not valid (TEST10-TEST13) |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 1 | sel_falsetick | x | discarded by intersection algorithm |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 2 | sel_excess | . | discarded by table overflow (not used) |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 3 | sel_outlyer | - | discarded by the cluster algorithm |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 4 | sel_candidate | + | included by the combine algorithm |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 5 | sel_backup | # | backup (more than tos maxclock sources) |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 6 | sel_sys.peer | * | system peer |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
| 7 | sel_pps.peer | o | PPS peer (when the prefer peer is valid) |
+-------------------------+---------------------------------------+--------------------------+-------------------------------------------------------------+
那么,这个8
数字Select Status
是什么意思呢?