On 2014-06-03, Tim Dunphy bluethundr@gmail.com wrote:
Ok! So this is where my script is at this point:
I strongly suggest that if you are writing a program to use a better language. bash is really painful for this sort of task. Here's a Perl script that queries /server-status:
http://www.perlmonks.org/?node_id=465848
And modify to taste.
--keith