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 --> |
| 1292 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 1292 : 1122 : 720 hits / 127 nets (since May 14 2006) |
| <!--#echo var=COUNTER fmt="%M" --> |
0.0.0.0 -------X -------- ----X--- -------- -------- -------- -------- -------- 16.0.0.0 -------- -------- -------- ----X--- -------- -------- -------- -------- 32.0.0.0 -------- -------- ----X--- -X------ -------- -------- -------- XX-X---- 48.0.0.0 -------- 0------- -------- ---X---- -------- -------- X--X---X ---X---- 64.0.0.0 XX-X1X-X -XX7-X-X -------- XX-----X X--X---- XX-X-XX- -X---X-- --X----- 80.0.0.0 --X---X- ------X- X---X--- ---X-X-X X8XX-XXX -----XX- -------X XX----X- 96.0.0.0 X------- -------- -------X -------- -------- ----X--- X----X-- ----X--- 112.0.0.0 -------- -------X -----X-- ----X--- ----X--- -----X-- -X------ -------- 128.0.0.0 ---X---- -X------ -------- -------- -----X-- -------- -------- -------- 144.0.0.0 -------- -------- -------- -------- -------- -------- ----XX-- -------- 160.0.0.0 -------- -------- -------- -------- -------- X------- ----X--X --X----- 176.0.0.0 X------- X------- -2------ -X--X--- -XX-X--- -------- -XX----- -------- 192.0.0.0 -XX--X-- --X-X--X -------- ----XX-- -X------ -XX---X- XXX----X X---XX-X 208.0.0.0 X5---X-X ---X--X- -X---XXX -------- X----X-X ---X---- --XX---- -X------ |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 321000BE 50.A LAST[1][ 0] 41300042 65.A LAST[2][ 0] B44000B3 180.B LAST[3][ 0] B4400015 180.B LAST[4][ 0] B44000A7 180.B LAST[5][ 0] D0700049 208.B LAST[6][ 0] B440003B 180.B LAST[7][ 0] 42F00077 66.D LAST[8][ 0] 585000ED 88.B LAST[9][ 0] B44000C2 180.B |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 1292 : 0.0/hour, 0.5/day, 15.5/month |
| PageViews: 1,122 hits / 127 nets |