Re: [chrony-users] ntpq-like queries using chronyc |
[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]
ok, I see that$ chronyc sources -a -vdisplays information about time sources for the locally running chronyd.The ntp server I'm trying to reach is not a chronyd daemon and is not local. (sorry.. I should've mention this)The out: "Could not open connection to daemon"On Thu, Jun 9, 2022 at 2:26 PM chengyechun <chengyechun1@xxxxxxxxxx> wrote:Do you want to enumerate all time sources, chronyc sources -a -v may work, and will indicate which time sources are which types
发件人: andrei tudor corduneanu [mailto:x7uplime@xxxxxxxxx]
发送时间: 2022年6月9日 21:20
收件人: chrony-users@xxxxxxxxxxxxxxxxxxxx
主题: [chrony-users] ntpq-like queries using chronyc
I was looking for a way to get the list of peers known to an ntp server and some of their stats, the ntpq command I'd like to replicate is:
$ ntpq -n -cpeers ntp-srv.local
Is there any way to do that with chronyd/chronyc ?
Can chronyc make all the possible queries of ntpq?
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |