- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2017-2-16 15:56:30
|
显示全部楼层
[root@361way ~]# chronyc
1 C# z* q" a( E2 T* L) C3 }' _chrony version 1.29.1
1 i( o" b/ g8 M! }9 i2 nCopyright (C) 1997-2003, 2007, 2009-2013 Richard P. Curnow and others
; j* u6 n- K( r/ p' D% D! E ?chrony comes with ABSOLUTELY NO WARRANTY. This is free software, and
2 V9 R2 A2 ~0 ?* g4 xyou are welcome to redistribute it under certain conditions. See the4 k, R$ Z8 L; O( x! t
GNU General Public License version 2 for details.2 J8 ]6 G, u* n/ L2 P0 d
chronyc> activity
* e4 {2 k$ E% n3 v/ Q) K. @ C200 OK
" @6 F$ d8 k) K$ D1 C3 sources online2 V& J* V, t$ d- q o! d/ i
0 sources offline
5 B" B( w# F4 ?) p" r: F# z; O) K7 O. o0 sources doing burst (return to online)
C# G0 k7 Z7 J7 @0 sources doing burst (return to offline)" G# d& f' d& K4 h, ~3 C8 d- W
0 sources with unknown address* d- S, }8 G# g& x' L: O; V3 L+ |) [
chronyc> help
7 R& ~: I, H( E# U# \Commands:: ^) X5 r% j. }( k5 l, ?; T+ L
accheck <address> : Check whether NTP access is allowed to <address># P7 S& F% z( c; J& ?0 R0 Y3 a6 j
activity : Check how many NTP sources are online/offline
8 G! w" j+ r+ |. o: P( uadd peer <address> ... : Add a new NTP peer
5 v0 p ]- i5 ?& B! `6 W* oadd server <address> ... : Add a new NTP server. P- l0 j/ p2 }! ?# j8 q0 P/ K
allow [<subnet-addr>] : Allow NTP access to that subnet as a default
, N. _6 v( M, P" P$ R3 u+ ^+ B1 @/ \allow all [<subnet-addr>] : Allow NTP access to that subnet and all children! G$ b- o/ S, E Q! z- E q
burst <n-good>/<n-max> [<mask>/<masked-address>] : Start a rapid set of measurements
5 s" ~) @: {8 M7 J* v8 vclients : Report on clients that have accessed the server
* u1 x3 o( V( e! tcmdaccheck <address> : Check whether command access is allowed to <address>: p+ w+ M8 W `, J! S
cmdallow [<subnet-addr>] : Allow command access to that subnet as a default' I% f, O3 b9 S8 y+ d
cmdallow all [<subnet-addr>] : Allow command access to that subnet and all children, g! \/ \. [! D9 K+ G1 G
cmddeny [<subnet-addr>] : Deny command access to that subnet as a default
1 L; i- k) u! L f……………………省略 |
|