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 --> |
| 352 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 352 : 286 : 157 hits / 52 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------2 -------- 64.0.0.0 X--XX--X ---4-X-X -------- -1-----X X--9---- 3X---X-- -----X-- --X----- 80.0.0.0 -------- -------- X------- ---X---X X-X---X5 -------- -------- -------- 96.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 112.0.0.0 -------- -------- -------- ----X--- -------- -------- -------- -------- 128.0.0.0 ---X---- -X------ -------- -------- -----X-- -------- -------- -------- 144.0.0.0 -------- -------- -------- -------- -------- -------- -----X-- -------- 160.0.0.0 -------- -------- -------- -------- -------- X------- -------- -------- 176.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 192.0.0.0 --X----- --X-X--X -------- -------- -------- -XX---X- X------X X---X--- 208.0.0.0 X----X-X ---X---- -----XX- -------- X------X -------- ---X---- -------- |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 2660003B 38.B LAST[1][ 1] 4660001C 70.B LAST[2][ 1] 3DF00037 61.D LAST[3][ 0] 4A0000BA 74.A LAST[4][ 0] 42F0008B 66.D LAST[5][ 0] 59D000A8 89.D LAST[6][ 0] 4A0000B3 74.A LAST[7][ 0] 4A0000A3 74.A LAST[8][ 0] 42F000DB 66.D LAST[9][ 1] 48C00036 72.D |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 352 : 0.0/hour, 0.4/day, 13.0/month |
| PageViews: 286 hits / 52 nets |