Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  836 of 909 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 12756
Last update: 05-20-08
Issue:
What is the "reach" value in "ntpq -p" output?
Resolution:

The value of reach column in ntpq -p or peer command inside ntpq shell represents the status of the last 8 NTP transactions between the NTP daemon and a given remote time server. It is an octal representation. Each bit in its binary representation is a boolean value, where a 1 indicates a successful transaction and a 0 indicates a failure. Each time a new transaction is made, the bits are shifted left by one position and the latest value would be recorded as the rightest bit.

For example, if 7 transactions are success and the latest transaction is failed, the binary representation is 11111110, and the octal number is 376.

For example, if the value of reach is 350. The binary representation is: 11110000, meaning that the last 4 transactions are failed.

If the value of reach is 377, the binary representation is 11111111, meaning that the last 8 transactions are successful.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   836  of  909  >>