Access counter and statistics by DeleGate
Basic functionality for access counters and real-time statistics were built-into DeleGate/9.2.0. It is applied not only to access count from clients but also to general counts including Referers, errors, and more, in future. So far, the following counters have been implemented.
Counters are enabled with the COUNTER parameter, as follows in the simplest.
A SSI tag "COUNTER" is introduced to show values in counters. The simplest example is the access counter of the SHTML page including the tag.
|
<!--#echo var=COUNTER --> |
| 598 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 598 : 508 : 315 hits / 68 nets (since May 14 2006) |
| <!--#echo var=COUNTER fmt="%M" --> |
0.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 16.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 32.0.0.0 -------- -------- -------- -0------ -------- -------- -------- -------- 48.0.0.0 -------- -------- -------- -------- -------- -------- X------X -------- 64.0.0.0 X--XXX-X -X-8-X-1 -------- -X-----X X--X---- XX-X-XX- -X---X-- --X----- 80.0.0.0 -------- ------X- X------- ---X---X X-X---XX ------X- -------- -X------ 96.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 112.0.0.0 -------- -------7 -------- ----3--- -------- -----X-- -------- -------- 128.0.0.0 ---X---- -X------ -------- -------- -----X-- -------- -------- -------- 144.0.0.0 -------- -------- -------- -------- -------- -------- -----X-- -------- 160.0.0.0 -------- -------- -------- -------- -------- X------- ----6--- --X----- 176.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 192.0.0.0 --X----- --X-X--X -------- -------- -X------ -XX---X- X------X X---X--- 208.0.0.0 X2---X-X ---X---- -----XXX -------- X------X -------- --5X---- -------- |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 26600050 38.B LAST[1][ 4] 43C000EA 67.D LAST[2][ 3] D07000F9 208.B LAST[3][ 0] 7730001A 119.A LAST[4][ 0] 77300033 119.A LAST[5][ 0] DCB00019 220.C LAST[6][ 0] AD30008F 173.A LAST[7][ 0] 73E000B6 115.D LAST[8][ 0] 42F00027 66.D LAST[9][ 1] 43C000B6 67.D |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 598 : 0.0/hour, 0.4/day, 13.2/month |
| PageViews: 508 hits / 68 nets |