Tracking NTP Daemon
Once the NTP daemon has been started, you can use two commands to keep track of how the
ntpd daemon is working:
1) ntpq –p
This command queries the status of the ntpd daemon. Here is an example:
openSUSE:~ # ntpq –p
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) .LOCL. 10 l 14 64 3 0.000 0.000 0.001
helium.constant 18.26.4.105 2 u 12 64 1 96.614 -31.777 0.001
The columns in the output include the following:
• remote
Specifies the hostname or IP address of the time provider.
• refid
Specifies the type of the reference source.
• st
Specifies the stratum of the time provider.
• when
Specifies the number of seconds since the last time poll.
• poll
Specifies the number of seconds between two time polls.
• reach
Displays whether or not the time server was reached in the last poll. Each
successful poll increments this field by 1.
• delay
Specifies the time (in milliseconds) that it took for the time provider to
respond to the request.
• offset
Specifies the time difference between the local system clock and the time
provider (in milliseconds).
•jitter
Specifies the size of time discrepancies (in milliseconds).
2) ntptrace
The ntptrace utility traces how the time consumer is receiving time from the
provider. It lists the time provider’s name, its stratum, and its time offset from the system
clock on the local system.
LX0-104 Exam Objectives (N)
No comments:
Post a Comment