Re: ntpq-like queries using chronyc

andrei tudor corduneanu <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <CACfmb9GJkVdUrQ5ywTjhpK=52Jyodm1k+fVe7F9ixhLTRpQZww@mail.gmail.com>
ok, I see that
$ chronyc sources -a -v
displays 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 <[email protected]> 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:[email protected]]
> *发送时间:* 2022年6月9日 21:20
> *收件人:* [email protected]
> *主题:* [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?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.