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 --> |
| 11 |
|
<!--#echo var=COUNTER fmt="%T : %U : %V hits / %N nets (since %tC)" --> |
| 11 : 5 : 5 hits / 4 nets (since Jun 12 2006) |
| <!--#echo var=COUNTER fmt="%M" --> |
0.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 16.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 32.0.0.0 -------- -------- -------- -0------ -------- -------- -------- -------- 48.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 64.0.0.0 -------- ---1-4-- -------- -------- -------- -------- -------- -------- 80.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 96.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 112.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 128.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 144.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 160.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 176.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- 192.0.0.0 -------- -------- -------- -------- -------- -------- -------- -3------ 208.0.0.0 -------- -------- -------- -------- -------- -------- -------- -------- |
| <!--#echo var=COUNTER fmt="%L" --> |
LAST[0][ 0] 2660003E 38.B LAST[1][ 1] 42F0008A 66.D LAST[2][ 0] 42F00089 66.D LAST[3][ 0] CE500002 206.B LAST[4][ 5] 43600082 67.B |
|
<!--#echo var=COUNTER fmt="Hits %T : %mHT/hour, %mdT/day, %mmT/month" --> |
| Hits 11 : 0.0/hour, 0.0/day, 0.4/month |
| PageViews: 5 hits / 4 nets |