A general statistics module for tracking the number of connections and total data transferred. Named StatChannel"s can be used to collect statistics for each server chain.
server.channel.add ( "stat", StatChannel_id : String )
The stat stream simply records the amount of data passing in and out through the stream, and records it under the specified StatChannel. The channel should be created prior to any connections being made (see below).
In addition to the standard module interface, it also has the following:
|channels||List of StatChannel||List of statistics channels|
|String||A printable summary of statistics channel data|
- add ( StatChannel_id : String )
- Add a new statistics channel.
- remove ( StatChannel_id : String )
- Remove a statistics channel.