Achim Gratz <strom...@nexgo.de>:
>> The current code prints out each line as soon as the data is returned from 
>> the server.  Another approach would be to collect it all so we could scan 
>> the 
>> column and use the 4th digit if everything would fit.
> 
> I'm not sure what the implication of waiting for all data really is.  It
> would certainly work for the things I use ntpq for, but that may not be
> the case for other folks.  What I had in mind was to simply allocate the
> available space more intelligently based on what we can know before
> statrting to print out the data.

You can't know enough to be "intelligent" before the per-host data arrives.
And if you wait for all data, the tool can become painful to use due to DNS
stalls.

Basically there are no happy answers here.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to