|
|
楼主 |
发表于 2017-2-16 15:56:30
|
显示全部楼层
[root@361way ~]# chronyc( c+ } k7 G8 e7 `% R* D S' n
chrony version 1.29.19 R8 [3 N6 e! N3 ^
Copyright (C) 1997-2003, 2007, 2009-2013 Richard P. Curnow and others% Z8 T( S8 q1 R2 S
chrony comes with ABSOLUTELY NO WARRANTY. This is free software, and
% V, G8 b) ~7 L% x, U. _! s/ yyou are welcome to redistribute it under certain conditions. See the
& C' T( R. m: _" z( CGNU General Public License version 2 for details.6 v; t+ K, T: |1 C/ Z1 f8 T& R% C
chronyc> activity
% v: H5 q5 E/ S) d6 j, k& v200 OK
+ z$ y* o; O1 V3 Y, r3 E+ t3 sources online
1 l/ y( l: ?& P, ^0 sources offline3 Z u. u, F, b) D
0 sources doing burst (return to online)
) L- s& t2 F, U* A+ c0 sources doing burst (return to offline)
B! @: H/ U0 f' w5 f0 sources with unknown address* F8 L. {# x0 ^( t$ D; E
chronyc> help
1 [9 n4 u- }7 D' v& a! B, N6 ECommands:7 x$ M4 n% k- M1 ] V
accheck <address> : Check whether NTP access is allowed to <address>
" G( c8 U+ l7 e+ _. T' Ractivity : Check how many NTP sources are online/offline# [+ s0 C v% Q% w k% K* K
add peer <address> ... : Add a new NTP peer b2 j. ]- a# x+ {0 o
add server <address> ... : Add a new NTP server& U& [% T2 O Q) j
allow [<subnet-addr>] : Allow NTP access to that subnet as a default
% F- B/ a3 k0 W/ s5 Wallow all [<subnet-addr>] : Allow NTP access to that subnet and all children/ n) d2 W# f1 O$ U; D* x
burst <n-good>/<n-max> [<mask>/<masked-address>] : Start a rapid set of measurements0 G8 B8 k1 O3 o7 b0 t0 ^
clients : Report on clients that have accessed the server$ C( ^ \! C9 ]0 @' G# a
cmdaccheck <address> : Check whether command access is allowed to <address>
8 A4 m, i& l- S" n) @0 P$ P4 ^) Icmdallow [<subnet-addr>] : Allow command access to that subnet as a default. |% e Q4 e4 E6 k
cmdallow all [<subnet-addr>] : Allow command access to that subnet and all children' q& P) u1 p& V+ V9 E' T
cmddeny [<subnet-addr>] : Deny command access to that subnet as a default
* F# i! x- _" e y% O1 O8 w$ K……………………省略 |
|