[ntp:questions] moving from ntpdc to ntpq
catherine.wei1989 at gmail.com
catherine.wei1989 at gmail.com
Thu Feb 12 06:56:58 UTC 2015
On Saturday, February 7, 2015 at 11:25:02 AM UTC+8, Harlan Stenn wrote:
> Pretty much the same thing, except with ":config addpeer ..." and
> ":config unconfig ...".
>
> I think...
>
> Please feel free to add examples to:
>
> http://support.ntp.org/Support/MonitoringAndControllingNTP
> http://support.ntp.org/Dev/DeprecatingNtpdate
>
> H
> Richard writes:
> > What is ntpq's equivelant of -c "addpeer <ntp host>" and -c "unconfig
> > <ntp host>" ?
> >
> >
> > I just upgraded from ntp 4.2.6 to 4.2.8 and ntpdc isn't connecting to my
> > local ntpd. According to the ntpdc man page:
> >
> > "ntpdc is deprecated. Please use ntpq(1) instead - it can do everything
> > ntpdc used to do,"
> >
> >
> > In ntpq how do I do the equivalent of ntpdc's -c "addpeer " or -c
> > "unconfig" commands?
> >
> >
> > Here is part of what previously did with ntpdc:
> >
> > /usr/sbin/ntpc -4 -c "keyid 5" -c "passwd mypassword" \
> > -c "addpeer <ntp server> " localhost
> >
> >
> > _______________________________________________
> > questions mailing list
> > questions at lists.ntp.org
> > http://lists.ntp.org/listinfo/questions
> >
Hi, is there any introduction of all ntpq commands equivalent of ntpdc's ? I used many commands of ntpdc in my program. Thank you.
More information about the questions
mailing list