|
|
楼主 |
发表于 2017-2-16 15:56:30
|
显示全部楼层
[root@361way ~]# chronyc2 D9 Z7 l, e+ O; R. x- A
chrony version 1.29.18 N* F" X. _1 L
Copyright (C) 1997-2003, 2007, 2009-2013 Richard P. Curnow and others
6 q( ~8 T) Z0 J! v0 l9 f& v+ `chrony comes with ABSOLUTELY NO WARRANTY. This is free software, and
. k# o2 }, h8 K G Lyou are welcome to redistribute it under certain conditions. See the: y4 |( V; V* e* M4 I8 Q- w/ H/ B
GNU General Public License version 2 for details.
6 V* W9 Q; r; S& X# ^8 \. {2 ~5 Pchronyc> activity
- \0 B% n( @ v+ r+ [ t200 OK$ R1 V7 M% B, o1 A0 U' e
3 sources online0 _/ m2 v( F- o7 Z/ ?6 E7 e- |7 W
0 sources offline; @4 ~ [7 E0 Z- s' @$ j
0 sources doing burst (return to online)
6 M. S y$ a3 P Q0 sources doing burst (return to offline); n+ ~; i* n% G, o2 D
0 sources with unknown address
" s- g( x& ^6 d5 U" Wchronyc> help
. ]- q7 T, I! ]9 X% _% h6 ZCommands:1 l, k5 E$ u2 N, Z
accheck <address> : Check whether NTP access is allowed to <address>
/ L/ T5 J: d1 P! O5 e l5 gactivity : Check how many NTP sources are online/offline
3 @6 u% k% S8 e; uadd peer <address> ... : Add a new NTP peer: |/ y* ^+ l0 f+ T7 W" C) Y
add server <address> ... : Add a new NTP server
7 E. O9 U/ i8 S( }allow [<subnet-addr>] : Allow NTP access to that subnet as a default' T: S5 B, q! I+ e
allow all [<subnet-addr>] : Allow NTP access to that subnet and all children
# p0 u3 u; u' Dburst <n-good>/<n-max> [<mask>/<masked-address>] : Start a rapid set of measurements
: b3 ]6 a( z* L: p: y# F1 L: v9 r( Dclients : Report on clients that have accessed the server$ B. p. a' ]8 M* B: n
cmdaccheck <address> : Check whether command access is allowed to <address>
* ~* H3 ~! D$ V- L3 B4 ~: Kcmdallow [<subnet-addr>] : Allow command access to that subnet as a default
3 c) P' Q' J( M! Lcmdallow all [<subnet-addr>] : Allow command access to that subnet and all children
: g' ^- }0 w) s) @0 i: Lcmddeny [<subnet-addr>] : Deny command access to that subnet as a default
+ T$ X5 Z* Y1 _" G……………………省略 |
|