Article View: news.software.nntp
Article #11796Re: ANNOUNCE - innd-timer patch for inn1.4unoff4
From: Michael Shields
Date: Sun, 20 Oct 1996 00:00
Date: Sun, 20 Oct 1996 00:00
53 lines
2109 bytes
2109 bytes
In article <54c7er$jck@earth.alpha.net>, Joe Greco <jgreco@ns.sol.net> wrote:
> The rest looks pretty good. Did you hack up a mod to innlog.pl to
> do this? (Wanna share?)
I did.
--- innlog.pl 1996/10/03 18:40:32 1.1.1.3
+++ innlog.pl 1996/10/18 04:15:45 1.8
@@ -487,6 +495,18 @@
## Skip for now - not particularly interesting :-)
next;
}
+
+ if ($Fld[7] eq 'time') {
+ my $i;
+ $greco_times++;
+ $greco_latency += $Fld[8] - 300000;
+ for ($i = 9; $i < $#Fld; $i += 2) {
+ $Fld[$i+1] =~ /^(\d+)\((\d+)\)$/;
+ $greco_numer{$Fld[$i]} += $1;
+ $greco_denom{$Fld[$i]} += $2;
+ }
+ next;
+ }
}
##
@@ -1107,6 +1148,20 @@
$ninnd_reject, $percent_accpt, $e_hours, $e_min, $e_sec;
}
+## Greco data.
+if ($greco_times) {
+ my $item;
+ print "Greco data\n";
+ printf " Stretch: %.3f ms\n", $greco_latency / $greco_times;
+ printf " Code region Time Invoked Each\n";
+ foreach $item (sort keys %greco_numer) {
+ printf " %-16.16s %8d %8d %8.3f\n",
+ $item, $greco_numer{$item}, $greco_denom{$item},
+ $greco_numer{$item} / $greco_denom{$item};
+ }
+ print "\n";
+}
+
## Miscellaneous innd statistics.
if ($innd_bad_msgids) {
print "Bad Message-ID's offered\n";
--
Shields, CrossLink.
Technical Details
Message-ID:
<54drsh$hid@daedalus.crosslink.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<53meci$l0i@brasil.moneng.mei.com> <540h73$e5@earth.alpha.net> <slrn5681b9.eeg.coneill@blah.erols.com> <54c7er$jck@earth.alpha.net>Show Full Headers
Complete Article Headers
Message-ID: <54drsh$hid@daedalus.crosslink.net> Subject: Re: ANNOUNCE - innd-timer patch for inn1.4unoff4 Date: Sun, 20 Oct 1996 00:00:00 +0000 From: shields@crosslink.net (Michael Shields) References: <53meci$l0i@brasil.moneng.mei.com> <540h73$e5@earth.alpha.net> <slrn5681b9.eeg.coneill@blah.erols.com> <54c7er$jck@earth.alpha.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 190794362 Distribution: inet Organization: CrossLink Internet Access and Networking Services Nntp-posting-user: shields Newsgroups: news.software.nntp