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 --> |
| 579 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 579 : 491 : 183 hits / 48 nets (since May 12 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---X -------- 64.0.0.0 ----2X-X ---5---7 ----X--- ------X- X--X---- 4X------ X----X-- -------- 80.0.0.0 --X----- -------- X------- -------- --1---X- -------- -------- -------- 96.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 112.0.0.0 -------- -------- -------- -------- -------- X------- -------- -------- 128.0.0.0 ---X---- -------- -------- -------- -----X-- -------- -------- -------- 144.0.0.0 -------- -------- -------- -------- -------- -------- -----X-- -------- 160.0.0.0 -------- -------- ------X- -------- -------- -------- -------- -------- 176.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 192.0.0.0 X------- ---X---- -------- -------- ---X-X-- -6X----- -------- X--XXX-- 208.0.0.0 -X-----X --XXX--- -------- -------- -------X -X----8- -X----X- -XX----- |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 26600011 38.B LAST[1][ 0] 5880000C 88.C LAST[2][ 0] 413000EE 65.A LAST[3][ 5] 41300083 65.A LAST[4][ 6] 4A00009F 74.A LAST[5][ 0] 42F000B2 66.D LAST[6][ 0] CA600090 202.B LAST[7][ 0] 43C00063 67.D LAST[8][ 0] DB800018 219.C LAST[9][ 2] 4A0000BE 74.A |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 579 : 0.0/hour, 0.7/day, 22.3/month |
| PageViews: 491 hits / 48 nets |