InspIRCd  4.0
Public Attributes | List of all members
serverstats Class Reference

#include <inspircd.h>

Public Attributes

unsigned long Accept = 0
 
unsigned long Refused = 0
 
unsigned long Unknown = 0
 
unsigned long Collisions = 0
 
unsigned long Dns = 0
 
unsigned long DnsGood = 0
 
unsigned long DnsBad = 0
 
unsigned long Connects = 0
 
unsigned long Sent = 0
 
unsigned long Recv = 0
 
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.

Member Data Documentation

◆ Accept

unsigned long serverstats::Accept = 0

Number of accepted connections

◆ Collisions

unsigned long serverstats::Collisions = 0

Number of nickname collisions handled

◆ Connects

unsigned long serverstats::Connects = 0

Number of inbound connections seen

◆ Dns

unsigned long serverstats::Dns = 0

Number of DNS queries sent out

◆ DnsBad

unsigned long serverstats::DnsBad = 0

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

◆ DnsGood

unsigned long serverstats::DnsGood = 0

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

◆ LastCPU

timeval serverstats::LastCPU

Cpu usage at last sample

◆ LastSampled

timespec serverstats::LastSampled

Time last sample was read

◆ Recv

unsigned long serverstats::Recv = 0

Total bytes of data received

◆ Refused

unsigned long serverstats::Refused = 0

Number of failed accepts

◆ Sent

unsigned long serverstats::Sent = 0

Total bytes of data transmitted

◆ Unknown

unsigned long serverstats::Unknown = 0

Number of unknown commands seen


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