[ntp:questions] obtaining multicast config from ntpdc

Danny Mayer mayer at ntp.isc.org
Thu Dec 15 20:38:10 UTC 2005


Ben Fitzgerald wrote:
> Hi,
> 
> how can I tell what the running config of my ntp daemon is?
> 
> I can check /etc/ntp.conf but this doesn't prove much as it could have
> been changed since ntpd started.
> 
> I want to tell if ntpd has been configured to listen to a multicast
> stream, and if so, what address the stream is on and any other info.
> 
> I'd like to get this through ntpdc/ntpq but cannot seem to find the
> correct commands. listpeers/showpeer do not seem to mention the
> multicast group.
> 
There is no way to find out whether it's been configured as a multicast
client unless it's actually receiving multicast packets for the given
multicast address. For that you need to go to the configuration file.

Danny




More information about the questions mailing list