Re: [chrony-users] DNS RR and chrony

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Fri, Mar 18, 2016 at 05:27:19AM +1300, Bryan Christianson wrote:
> The -c output  from chronyc looks really good and useful.
> 
> My OSX program, ChronyControl, runs a persistent connection to chronyc and sends it a ‘tracking’ command every (user configurable) few seconds. Currently this is of course parsing the display format of the tracking command.
> 
> To get CSV output I would have to run a new instance of chronic every few seconds and this seems like a lot of overhead.

If you start chronyc with -c and write commands to the stdin, the
tracking command will still print the report in the CSV format.

> Would it be possible to add an optional argument to the internal chronyc commands to have them also return CSV format? Optionally JSON and XML would be nice formats as well.

Would JSON or XML be easier for you to parse? I guess it wouldn't be
difficult to implement, I'm just not sure if it's worth the extra
code.

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/