|
|||
|
|||
|
#include <inspircd.h>
Inheritance diagram for serverstats:


Public Member Functions | |
| serverstats () | |
| The constructor initializes all the counts to zero. | |
Public Attributes | |
| unsigned long | statsAccept |
| Number of accepted connections. | |
| unsigned long | statsRefused |
| Number of failed accepts. | |
| unsigned long | statsUnknown |
| Number of unknown commands seen. | |
| unsigned long | statsCollisions |
| Number of nickname collisions handled. | |
| unsigned long | statsDns |
| Number of DNS queries sent out. | |
| unsigned long | 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 | 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 | statsConnects |
| Number of inbound connections seen. | |
| double | statsSent |
| Total bytes of data transmitted. | |
| double | statsRecv |
| Total bytes of data received. | |
| timeval | LastCPU |
| Cpu usage at last sample. | |
| timeval | LastSampled |
| Time last sample was read. | |
Definition at line 212 of file inspircd.h.
|
|
The constructor initializes all the counts to zero.
Definition at line 257 of file inspircd.h. |
|
|
Cpu usage at last sample.
Definition at line 251 of file inspircd.h. Referenced by InspIRCd::Run(). |
|
|
Time last sample was read.
Definition at line 254 of file inspircd.h. |
|
|
Number of accepted connections.
Definition at line 217 of file inspircd.h. Referenced by ListenSocketBase::AcceptInternal(), and DNS::PRNG(). |
|
|
Number of nickname collisions handled.
Definition at line 226 of file inspircd.h. Referenced by User::ForceNickChange(), and DNS::PRNG(). |
|
|
Number of inbound connections seen.
Definition at line 242 of file inspircd.h. Referenced by User::FullConnect(), and DNS::PRNG(). |
|
|
Number of DNS queries sent out.
Definition at line 229 of file inspircd.h. Referenced by DNS::HandleEvent(). |
|
|
Number of bad (negative) DNS replies received NOTE: This may not tally to the number sent out, due to timeouts and other latency issues.
Definition at line 239 of file inspircd.h. Referenced by DNS::HandleEvent(), UserResolver::OnError(), and DNS::PRNG(). |
|
|
Number of good DNS replies received NOTE: This may not tally to the number sent out, due to timeouts and other latency issues.
Definition at line 234 of file inspircd.h. Referenced by DNS::HandleEvent(), and DNS::PRNG(). |
|
|
Total bytes of data received.
Definition at line 248 of file inspircd.h. Referenced by DNS::PRNG(). |
|
|
Number of failed accepts.
Definition at line 220 of file inspircd.h. Referenced by ListenSocketBase::AcceptInternal(). |
|
|
Total bytes of data transmitted.
Definition at line 245 of file inspircd.h. Referenced by DNS::PRNG(), and User::Write(). |
|
|
Number of unknown commands seen.
Definition at line 223 of file inspircd.h. Referenced by CommandParser::ProcessCommand(). |