Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Eric S. Raymond
Hal Murray : > > fallenpega...@gmail.com said: > > Sanjeev, do you know Python? Would you like to take a crack at > > re-implementing loopstats in Python? > > Plan B would be to drop it. > > The first step would be to figure out what it does. Probably the best > approach would be to setup an

Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Eric S. Raymond
Hal Murray : > It's written in perl. I don't know anything about perl nor do I have any > desire to learn. Nor would I advise it. Python has the same application range and scores quite a bit higher on the readable-six-months-later scale. If you're going to learn a new language for this sort of

Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Hal Murray
fallenpega...@gmail.com said: > Sanjeev, do you know Python? Would you like to take a crack at > re-implementing loopstats in Python? Plan B would be to drop it. The first step would be to figure out what it does. Probably the best approach would be to setup an old system to run it against a

Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Hal Murray
> How much effort is it to make it use mode 6? Probably not much. I'd guess a day or so, but that's mostly coming up to speed, and is obviously a rough/wild guess. It's written in perl. I don't know anything about perl nor do I have any desire to learn. -- These are my opinions. I hate sp

Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Mark Atwood
Ok, thanks Eric and Hal. Please file a bug against it, tagging it as broken, uses Perl, uses Mode 7. Don't stop work on other stuff on your plate. Sanjeev, do you know Python? Would you like to take a crack at re-implementing loopstats in Python? ..m On Mon, Mar 28, 2016 at 12:24 PM Eric S.

Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Eric S. Raymond
Mark Atwood : > How much effort is it to make it use mode 6? I haven't scoped the job exactly, but my guess is probably not a whole lot. The equivalent mode 6 report, assuming there is one, will be textual and probably simpler to parse than the mode 7 report was. It'll take a rewrite of loopstats

Re: util/monitoring/ntploop{stat,watch}

2016-03-28 Thread Mark Atwood
How much effort is it to make it use mode 6? ..m On Fri, Mar 25, 2016 at 12:07 AM Hal Murray wrote: > > e...@thyrsus.com said: > > I don't know enough about the tool's use cases to have an informed > opinion. > > Who uses it, and what are they looking for? > > I don't know.Nobody has report

Re: util/monitoring/ntploop{stat,watch}

2016-03-25 Thread Hal Murray
e...@thyrsus.com said: > I don't know enough about the tool's use cases to have an informed opinion. > Who uses it, and what are they looking for? I don't know.Nobody has reported that it doesn't work so I doubt if it gets a lot of use. I don't use it. I didn't even know it existed until

Re: util/monitoring/ntploop{stat,watch}

2016-03-24 Thread Eric S. Raymond
Hal Murray : > > ntploopstat starts: > ;# Poll NTP server using NTP mode 7 loopinfo request. > ;# Log info and timestamp to file for processing by ntploopwatch. > > Should we drop them, or fix ntploopstat to use mode 6? I don't know enough about the tool's use cases to have an informed opini