client: add CSV output mode

Add a new option (-c) to chronyc to enable printing of reports in a
column-separated values (CSV) format. IP addresses will not be resolved
to hostnames, time will be printed as number of seconds since the epoch
and values in seconds will not be converted to other units.
This commit is contained in:
Miroslav Lichvar
2016-03-16 15:50:47 +01:00
parent 3f51805e62
commit ea3950d57e
2 changed files with 58 additions and 5 deletions

View File

@@ -77,6 +77,12 @@ With this option hostnames will be resolved only to IPv6 addresses.
This option disables resolving of IP addresses to hostnames (e.g. to avoid slow
DNS lookups).
*-c*::
This option enables printing of reports in a column-separated values (CSV)
format. IP addresses will not be resolved to hostnames, time will be printed as
number of seconds since the epoch and values in seconds will not be converted
to other units.
*-d*::
This option enables printing of debugging messages if *chronyc* was compiled
with debugging support).