[ntp:questions] System status word not accessible via libntpq?

Matija Buskovic matija.buskovic at gmail.com
Wed Mar 6 01:33:41 UTC 2013


On Friday, March 1, 2013 7:52:01 PM UTC+1, Kyle Guilbert wrote:
> I'm writing some code to use libntpq to query the local NTP daemon, and 
> 
> it looks as though the libntpq interface throws away the System Status 
> 
> Word (with Leap, Source, Count, Event fields). I think this is the third 
> 
> argument sixth argument to doquery(), usually named 'rstatus'. I would 
> 
> especially like to see the Event field, to display in a separate 
> 
> application what the local NTP is up to.
> 
> 
> 
> Any advice on how I can get at this status word?
> 
> 
> 
> Thanks!



More information about the questions mailing list