|
|
楼主 |
发表于 2017-2-16 15:56:30
|
显示全部楼层
[root@361way ~]# chronyc& Z- N# p- y% m. D: P% e4 W
chrony version 1.29.16 t! s* }* X- e& A) Y
Copyright (C) 1997-2003, 2007, 2009-2013 Richard P. Curnow and others" E8 \ T7 H0 \ [
chrony comes with ABSOLUTELY NO WARRANTY. This is free software, and
# t$ K9 N+ B. ~! z# Xyou are welcome to redistribute it under certain conditions. See the
/ \3 J* v" ?: N. F, i0 f5 HGNU General Public License version 2 for details.
9 I- Y2 M6 B8 m, P, {5 p2 |% lchronyc> activity
( y. |8 E% K F: _; M2 k* P" V' M200 OK
1 W* p; N) H, |3 sources online' t6 N/ _) }" o3 _: A- f
0 sources offline3 J; D. N/ [7 [) r
0 sources doing burst (return to online)' c @ { C9 {5 b% E9 d5 }5 Y$ d
0 sources doing burst (return to offline)/ Q3 Q5 f/ H: c6 Q
0 sources with unknown address7 I( W* [ v6 p8 ^0 D6 C4 @
chronyc> help
- e1 w* P7 V5 K' J7 _! X4 BCommands:! w) l' p/ h1 W( Q& L# a% J& T
accheck <address> : Check whether NTP access is allowed to <address>
, s7 g: [" r( Z. }activity : Check how many NTP sources are online/offline% f# n$ M: P& i6 |# j) [, a
add peer <address> ... : Add a new NTP peer' G* \8 d1 t; ?3 n! h
add server <address> ... : Add a new NTP server3 K9 P' L. L0 M. j6 R# K; e/ k. ?+ @
allow [<subnet-addr>] : Allow NTP access to that subnet as a default6 H! ], w- A( h: k9 X
allow all [<subnet-addr>] : Allow NTP access to that subnet and all children
! e1 @9 h) G- W$ Lburst <n-good>/<n-max> [<mask>/<masked-address>] : Start a rapid set of measurements) |! P9 S3 ^+ j# H) y5 @
clients : Report on clients that have accessed the server1 Y, v& t, t8 F. O: O
cmdaccheck <address> : Check whether command access is allowed to <address>, B% Y F4 t+ t; A* @3 _
cmdallow [<subnet-addr>] : Allow command access to that subnet as a default
, S6 t+ R( T4 y8 s4 P2 bcmdallow all [<subnet-addr>] : Allow command access to that subnet and all children
* ~% p9 K+ S l2 `5 x/ ?: D0 Ncmddeny [<subnet-addr>] : Deny command access to that subnet as a default0 ]; w( Z/ ?5 f9 R8 `
……………………省略 |
|