Hello,
I am using anlalog 4.90beta3. I would like to know why
"average" counts are always decreased "one".
The result of "Successful requests" and "Average successfull
requests per day" are always different. I have read FAQ
(Especially C4) and also ML archives subjected "Successful
requests & Average successful requests per day" (posted on May
23, 2000).
Here is a source code "output.c":
206 #define GENSUM_RATE(x, m) (((m) < 30 || (x) <= 1)?((unsigned long)UNSET):\
207 ((unsigned long)(((double)((x) - 1) * 1440.0) / (double)(m))))
This macro calculates a rate for summary, "(x)" is a number of
pages or requests and "(m)" is a time distance -- minutes. As
you see, "(x) - 1" is used to get rates.
I understood how the average was decreased but I do not
understand why ... Please let me know the reason.
Thanks,
--
Satoshi Ikarashi <[EMAIL PROTECTED]>
24 52 51 C3 98 D9 8A CC 5E 34 32 20 E6 18 D6 FD
UNIX Systems Services 1, Software Service Center 1
(Technologies Planning, ASP Business)
Nihon Unisys, Ltd. PH.+81-3-4329-2247, Datafax.+81-3-5546-7849
========== Result of analog ==============
[msi@myhost analog]$ ./analog -g./etc/analog-daily.cfg
Web Server Statistics for My Web Page [myhost.unisys.co.jp]
==========================================================
Program started at Thu-05-Apr-2001 20:17.
Analysed requests from Wed-04-Apr-2001 00:00 to Thu-05-Apr-2001 00:00 (1.00
days).
----------------------------------------------------------------------------
General Summary
---------------
This report contains overall statistics.
Successful requests: 7,095
Average successful requests per day: 7,094
Successful requests for pages: 1,644
Average successful requests for pages per day: 1,643
Failed requests: 334
Redirected requests: 38
Distinct files requested: 449
Distinct hosts served: 73
Corrupt logfile lines: 48
Unwanted logfile entries: 230,024
Data transferred: 23.338 Mbytes
Average data transferred per day: 23.338 Mbytes
----------------------------------------------------------------------------
This analysis was produced by analog 4.90beta3.
Running time: 1 second.
========== ./etc/analog-daily.cfg ==============
OUTPUT plain
OUTFILE stdout
ALL off
GENERAL on
FROM -00-00-01:0000
TO -00-00-00:0000
+------------------------------------------------------------------------
| This is the analog-help mailing list. To unsubscribe from this
| mailing list, go to
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| List archives are available at
| http://www.mail-archive.com/[email protected]/
| http://lists.isite.net/listgate/analog-help/archives/
+------------------------------------------------------------------------