InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes | List of all members
serverstats Class Reference

#include <inspircd.h>

Public Member Functions

 serverstats ()
 

Public Attributes

unsigned long statsAccept
 
unsigned long statsRefused
 
unsigned long statsUnknown
 
unsigned long statsCollisions
 
unsigned long statsDns
 
unsigned long statsDnsGood
 
unsigned long statsDnsBad
 
unsigned long statsConnects
 
unsigned long statsSent
 
unsigned long statsRecv
 
timeval LastCPU
 
timespec LastSampled
 

Detailed Description

This class contains various STATS counters It is used by the InspIRCd class, which internally has an instance of it.

Constructor & Destructor Documentation

serverstats::serverstats ( )
inline

The constructor initializes all the counts to zero

Member Data Documentation

timeval serverstats::LastCPU

Cpu usage at last sample

timespec serverstats::LastSampled

Time last sample was read

unsigned long serverstats::statsAccept

Number of accepted connections

unsigned long serverstats::statsCollisions

Number of nickname collisions handled

unsigned long serverstats::statsConnects

Number of inbound connections seen

unsigned long serverstats::statsDns

Number of DNS queries sent out

unsigned long serverstats::statsDnsBad

Number of bad (negative) DNS replies received NOTE: This may not tally to the number sent out, due to timeouts and other latency issues.

unsigned long serverstats::statsDnsGood

Number of good DNS replies received NOTE: This may not tally to the number sent out, due to timeouts and other latency issues.

unsigned long serverstats::statsRecv

Total bytes of data received

unsigned long serverstats::statsRefused

Number of failed accepts

unsigned long serverstats::statsSent

Total bytes of data transmitted

unsigned long serverstats::statsUnknown

Number of unknown commands seen


The documentation for this class was generated from the following file: