|
|
楼主 |
发表于 2017-2-16 15:56:30
|
显示全部楼层
[root@361way ~]# chronyc
4 c% Q* \! ]5 gchrony version 1.29.1# {; |' z) G3 D; R
Copyright (C) 1997-2003, 2007, 2009-2013 Richard P. Curnow and others8 U) l+ v; ?$ r6 D7 b J" ?
chrony comes with ABSOLUTELY NO WARRANTY. This is free software, and
% L- m0 L2 `9 u% o& `8 B# Ryou are welcome to redistribute it under certain conditions. See the* k/ J* Y* [% [
GNU General Public License version 2 for details.
" z: T8 [. Z( i1 H! ~chronyc> activity
9 D C5 K' Y5 i' R- c1 F/ q2 w200 OK- j9 B- U& k3 `: x: e3 T0 m8 g( w
3 sources online
# m" R- v. k) N" a0 sources offline5 h/ P" q0 |$ ?% w" `! q: I
0 sources doing burst (return to online)
0 B/ b6 h6 ]* I+ @6 u' K2 H7 Z0 sources doing burst (return to offline)2 G1 A; h4 q7 ~' ~
0 sources with unknown address
/ p7 I. r. R/ W) K6 Y" Xchronyc> help
6 x% X. A' D- w. D! ~$ Y# JCommands:
, c: ?) i7 d7 n; kaccheck <address> : Check whether NTP access is allowed to <address>0 q9 z% r" W* {) `
activity : Check how many NTP sources are online/offline
' n/ Y8 X- Q4 t# _add peer <address> ... : Add a new NTP peer/ l* t" W2 w+ K. C
add server <address> ... : Add a new NTP server
: y8 H; ?1 [) Fallow [<subnet-addr>] : Allow NTP access to that subnet as a default4 W p- q3 Z, U6 ]- U5 P, }7 S
allow all [<subnet-addr>] : Allow NTP access to that subnet and all children
/ t( G5 I; X1 Y. yburst <n-good>/<n-max> [<mask>/<masked-address>] : Start a rapid set of measurements9 r/ F% V% v3 i3 s$ \' |5 e+ @
clients : Report on clients that have accessed the server
' R2 G& C# a0 Y" {" `7 i5 c0 Jcmdaccheck <address> : Check whether command access is allowed to <address>
4 M0 T# S1 e) p' V& Fcmdallow [<subnet-addr>] : Allow command access to that subnet as a default& ?& T8 o7 M/ J x0 _
cmdallow all [<subnet-addr>] : Allow command access to that subnet and all children7 M+ x8 I$ U& k' h) V& s% M
cmddeny [<subnet-addr>] : Deny command access to that subnet as a default6 t; g" A3 h% f0 b4 g0 T% r# O
……………………省略 |
|