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 --> |
| 4045 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 4045 : 3587 : 2207 hits / 282 nets (since May 11 2006) |
| <!--#echo var=COUNTER fmt="%M" --> |
0.0.0.0 -------- -------- -------- -------- X------- -------- X-XXX--- -------X 16.0.0.0 -------- -------- -------- -------- XXXX---- -------- -------- -------- 32.0.0.0 -------- -------- -------- -0------ -------- -------X -------- -------- 48.0.0.0 -------- -------- -------- -------- -------- XX-XXXX- X-XXXXXX XXXX-X-X 64.0.0.0 XXXX7XXX XXX6XXX2 XXX4XXXX XXX-XXXX XXXX---- 9X-XXXX- XXXX-1-X ----X--- 80.0.0.0 X-XXXXXX XXXXXXXX XXXXXXXX XX--XX-X -XXX-XXX --X--XX- -------- -------- 96.0.0.0 ---X-X-- ---X--X- -------- -------- -------- -------- -------- -------- 112.0.0.0 -------- -------- -------X X------- ----XX-- X-XX-X-- XXXXXX-X ----X--- 128.0.0.0 -X-XX--- -X-XXX-- ---X-X-X -X-X---- --XX-XX- ---X---- -X--XX-- -X-----X 144.0.0.0 -------- X----XXX ---X---X X---XX-X --XX---- -------- -----XX- ------X- 160.0.0.0 -------- -X-----X -X--X-XX -------- ---X---- -XX-XXX- -------- -------- 176.0.0.0 -------- -------- -------- -------- -------- -------- ------X- XXX----- 192.0.0.0 XXXXX-X8 XXXXXXXX X--X---- --XXXX-- XXX-XXX- XXXX-XXX -XXX---- -XX-XXXX 208.0.0.0 X5XXX-XX --XXXXXX XXXXXXXX X------- XXXXXXXX XXXXXXXX XXXXXXXX XXXX---- |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 26600010 38.B LAST[1][ 0] 4D50000E 77.B LAST[2][ 7] 43C00019 67.D LAST[3][ 0] 43C000AF 67.D LAST[4][ 0] 44E00004 68.D LAST[5][ 0] D0600010 208.B LAST[6][ 0] 42C00082 66.D LAST[7][ 0] 4130008C 65.A LAST[8][ 0] C1F00010 193.D LAST[9][ 52] 4A000035 74.A |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 4045 : 0.2/hour, 5.5/day, 170.7/month |
| PageViews: 3,587 hits / 282 nets |