ntpq: cruft/doc
Gary E. Miller
gem at rellim.com
Sun Oct 16 20:20:19 UTC 2016
Yo Eric!
On Sun, 16 Oct 2016 15:14:19 -0400
"Eric S. Raymond" <esr at thyrsus.com> wrote:
> > Many CSV files have a comment line on top with the field names.
>
> Good idea. Gonna be *mandatory* for anybody generating CSV in our
> pond. Also strict conformance to RFC4180, at pain of my extreme
> displeasure. Data formats that aren't well-standardized and
> self-describing give me hives - they always, always, *always* cause
> trouble down the road.
This has sorta mutated to a data format discussion. ntpviz added a
summary csv file in the last week. It has column titles in the
first line.
I was unaware of RFC 4180, and it mandates CRLF as line ending, not the
\n that I used. I just pushed a fix to this. Someone familiar with
RFC4180 should check the format is correct.
I chose CSV over JSON because the data is simple 2D and most people will
just import the summary.csv file into Libreoffice, or similar, directly
from their browser. CSV files are trivial to import, but Libreoffice
has no obvious way to directly import JSON.
Here is a link to a current summary file:
https://rellim.com/ntpstats/day/summary.csv
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20161016/e42e65f2/attachment.bin>
More information about the devel
mailing list