Technical data

Configuring and Managing NTP
12.8 NTP Utilities
Asterisk (*) denotes the peer to which the server is currently
synchronizing.
showpeer peer_address [...]
Shows a detailed display of the current peer variables for one or more peers.
pstats peer_address [...]
Shows per-peer statistics counters associated with the specified peers.
loopinfo [ oneline multiline ]
Displays the values of selected loop-filter variables. The loop filter is the part
of NTP that adjusts the local system clock. These options include:
offset
the last offset given to the loop filter by the packet processing
code.
frequency
the frequency error of the local clock (in parts per million)
time_const
controls the stiffness of the phase-lock loop and thus the
speed at which it can adapt to oscillator drift.
watchdog timer
value the number of seconds that have elapsed since
the last sample offset was given to the loop filter.
The
oneline
and
multiline
options specify the format in which this
information is to be displayed;
multiline
is the default.
sysinfo
Displays a variety of system state variables, such as the state related to the
local server.
The
system flags
show various system flags, some of which can be set and
cleared by the
enable
and
disable
configuration commands, respectively.
These are the
auth
,
bclient
,
monitor
,
pll
,
pps
and
stats
flags.
The
stability
is the residual frequency error remaining after the system
frequency correction is applied. It is intended for maintenance and debugging.
The
broadcastdelay
shows the default broadcast delay, as set by the
broadcastdelay
configuration command.
The
authdelay
shows the default authentication delay, as set by the
authdelay
configuration command.
sysstats
Displays statistics counters maintained in the protocol module.
memstats
Displays statistics counters related to memory allocation code.
iostats
Displays statistics counters maintained in the input/output module.
timerstats
Displays statistics counters maintained in the timer/event queue support
code.
reslist
Displays the servers restriction list. This list is displayed in the order in
which the restrictions are applied.
12–20 Configuring and Managing NTP