NTP linux NTPD 命令解釋

risingsunczl發表於2009-05-06
NTP linux NTPD 命令解釋[@more@]

ntpq –p <wbr> <wbr>引數詳解

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> ntpq -p

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>remote <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> refid <wbr> <wbr> <wbr> <wbr> <wbr> st <wbr>t <wbr> <wbr>when <wbr>poll <wbr>reach <wbr> <wbr> delay <wbr> <wbr> offset <wbr> jitter

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> ==================================================================

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> *10.247.160.31 <wbr> <wbr>10.240.241.5 <wbr> 4 <wbr>u <wbr> <wbr> 53 <wbr> <wbr> 64 <wbr> 377 <wbr> <wbr> <wbr> <wbr> <wbr>0.240 <wbr> <wbr> <wbr> 0.374 <wbr> <wbr> 0.240

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> remote :響應這個請求的NTP伺服器的名稱。

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> refid NTP伺服器使用的上一級ntp伺服器。

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> st <wbr> remote遠端伺服器的級別. 由於NTP是層型結構,有頂端的伺服器,多層的Relay Server再到客戶端. 所以伺服器從高到低階別可以設定為1-16. 為了減緩負荷和網路堵塞,原則上應該避免直接連線到級別為1的伺服器的.

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> when: <wbr> 上一次成功請求之後到現在的秒數。

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> poll : <wbr> 本地機和遠端伺服器多少時間進行一次同步(單位為秒). 在一開始執行NTP的時候這個poll值會比較小,那樣和伺服器同步的頻率也就增加了,可以儘快調整到正確的時間範圍,之後poll值會逐漸增大,同步的頻率也就會相應減小

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> reach: 這是一個八進位制值,用來測試能否和伺服器連線.每成功連線一次它的值就會增加

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> delay: 從本地機傳送同步要求到ntp伺服器的round trip time

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> offset :主機透過NTP時鐘同步與所同步時間源的時間偏移量,單位為毫秒(ms)。offset越接近於0,主機和ntp伺服器的時間越接近

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> jitter: 這是一個用來做統計的值. 它統計了在特定個連續的連線數里offset的分佈情況. 簡單地說這個數值的絕對值越小,主機的時間就越精確

<wbr>

Ø <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> t :未知其含義,請補充。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/653579/viewspace-1021760/,如需轉載,請註明出處,否則將追究法律責任。

相關文章