[INN-COMMITTERS] inn/scripts (innreport_inn.pm)
Russ Allbery
rra at stanford.edu
Tue Oct 3 21:16:03 UTC 2000
Date: Tuesday, October 3, 2000 @ 14:16:02
Author: rra
Update of /dist1/cvs/isc/inn/inn/scripts
from pub3.rc.vix.com:/tmp/cvs-serv14756
Modified: innreport_inn.pm
Significantly clean up the parsing for the internal timer. Rather than
using a regex with lots of optional sections, look for a line matching the
general pattern of a timer and then parse each timer value individually,
looking up the long name in a hash table. This will be robust against
reordering of the output and will even deal correctly (but without nice
long names) with the introduction of new timers without updating this
code. It's also much shorter code.
More information about the inn-committers
mailing list