[ntp:questions] Re: obtaining multicast config from ntpdc

Koos van den Hout koos at cs.uu.nl
Fri Dec 16 11:09:51 UTC 2005


Ben Fitzgerald <bmf1DELETE at ukonline.co.uk> wrote:

> 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.

Try lsof -p <pidofntpd>. Under linux, this lists (for me!) the UDP sockets
a process has opened (amongst loads of other stuff) and when joined to an
mcast group the IP of the group is listed.

                                              Koos

-- 
Koos van den Hout koos at cs.uu.nl PGP keyid 0x27513781 (Use PGP!)
Phone +31-30-2534104    Fax +31-30-2513791            http://idefix.net/~koos/
Virtual Bookcase, book reviews and news http://www.virtualbookcase.com/
Camp Wireless, wireless Internet access at campsites http://camp-wireless.org/




More information about the questions mailing list