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 --> |
| 2855 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 2855 : 2134 : 861 hits / 103 nets (since May 12 2006) |
| <!--#echo var=COUNTER fmt="%M" --> |
0.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 16.0.0.0 -------- -------- -------- -------- XX------ -------- -------- -------- 32.0.0.0 -------- -------- -------- -0------ -------- -------- -------- -------- 48.0.0.0 -------- X------- -------- -------- -------- ----XX-- ---X---X -------- 64.0.0.0 X-X-XX-X ---3---X ----X--- ------X- X--X---- XX------ X----X-- --X---X- 80.0.0.0 --X----X -------X XX--X--- -----X-X --XX--XX -------X ------8- -X---X-- 96.0.0.0 X------- -------- -------- -------- -------- -------- -------- -------- 112.0.0.0 -------- -----XX- -------- -X--X--2 ----X--- X----X-- ---X--XX -------- 128.0.0.0 X--X---- -------- -------- -------- -----X-- -------- -------- -------- 144.0.0.0 -------- -------- -------- -------- -------- -------- ----XX-- -------- 160.0.0.0 -------- -------- ------X- -------- -------- -------- -------- -XX----- 176.0.0.0 -------- --X----- -X------ -------- -X------ -------- --X----- -------- 192.0.0.0 X----X-- X--X--XX -------- -------- ---XXX-- -XXX--X- -------- XX-XXX-- 208.0.0.0 -1---X-X --XXX--- -XX---X- -------- X-X----X -X-X--X- -X----XX -XX----- |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 266000DA 38.B LAST[1][ 0] D0700049 208.B LAST[2][ 1] 77E00013 119.D LAST[3][ 2] 42F000F1 66.D LAST[4][ 0] 77E00012 119.D LAST[5][ 0] 42F000E7 66.D LAST[6][ 2] 42F000E7 66.D LAST[7][ 1] 77E00014 119.D LAST[8][ 3] 5D90001C 93.C LAST[9][ 0] 77E00055 119.D |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 2855 : 0.1/hour, 1.3/day, 40.3/month |
| PageViews: 2,134 hits / 103 nets |