ircu/STATS
Shows server configuration and statistics.
/STATS [[<char>|<name>] [[<server>] [<mask>]]]
The <server> parameter can be used to get the replies from a remote server, or from the local server to be able to use parameter <mask>.
access (i)
Show connection authorization lines. The replies show mask, max per IP, name (IP perhaps? test it), port (always 0), and class name.
I *@* 65535 * 0 users
I user@host max name port class
/STATS i|access [[<server>] <mask>]
classes (y)
Show connection classes. The replies show "Y" (valid) or "y" (invalid class), class name, ping frequency (in seconds), connect frequency (in seconds), max links (auto connect until links has reached this), max send queue (maximum buffer size in bytes), and links (number of connections in class).
/STATS y|classes [<server>]
commands (m)
Show message usage information. The replies show command, count (number of times used on or received by this server), bytes (total number of bytes used). A command is only listed when count is greater than 0.
/STATS m|commands [<server>]
connect (c)
Show remote server connection lines. The replies show server name, IP? (masked with *), port, max links (maxlinks from class? test it), hub limit (number of hops allowed to be introduced), and class name.
/STATS c|connect [<server>]
crules (D)
Show dynamic routing configuration. The replies show "D" (all), server name or mask, and the rule that applies to all connects (auto connects and /CONNECT).
doc/readme.crules
/STATS D|crules [<server>]
engine (e)
Report server event loop engine. The reply shows the event loop engine used by the server, which will be one of devpoll(), epoll(), kqueue(), poll(), or select().
/STATS e|engine [<server>]
features (f)
Show feature and log settings. The replies show "F", feature name, feature value. Or in case of log settings, "F LOG", file name, then either "FACILITY", "SNOMASK", or "LEVEL", followed by the value.
/STATS f|features [<server>]
glines (g)
Show G-lines. The replies show "G", mask, expire timestamp, last modification timestamp, lifetime timestamp, then a ">" (locally activated) or "<" (locally deactivated) may appear, a "+" (active) or "-" (inactive), and the G-line reason.
/STATS g|glines [<server>]
histogram (j)
Show message length histogram. The replies show the total number of messages received by the server (from clients and servers), and a histogram based on their length. Each line shows the start value and lists the next 15 values.
/STATS j|histogram [<server>]
iauth
Show IAuth statistics.
/STATS iauth [<server>]
iauthconf
Show IAuth configuration.
/STATS iauthconf [<server>]
jupes (J)
Show nickname jupes, nicks which cannot be used by local clients, reserved for services, security reasons, or otherwise.
/STATS J|jupes [<server>]
klines (k)
Show local bans (K-Lines). The replies show "k" (IP based) or "K" (host based), user@host, reason, and realname.
/STATS k|klines [[<server>] <mask>]
- Ordinary users
Ordinary users must always use the <mask> parameter, and get one exact match returned for both local and remote requests.
- Local opers
Local opers can get the full list from the local server, and use the <mask> parameter to show matching K-lines (max 1000 results) on the local server. For remote requests, local opers are treated the same as ordinary users.
- Global opers
Global opers can get the full list from any server, and use the <mask> parameter to show matching K-lines (max 1000 results) from any server.
links (l)
Show current connections information. The replies show connection (servername or nick), current size of the send queue (in bytes), mega bytes sent, kilo bytes sent, mega bytes received, kilo bytes received, and the age of the connection (in seconds).
/STATS l|links [[<server>] <mask>]
The <mask> parameter is matched against servernames and nicks, and is ignored for remote requests. Invisible users are only shown when their exact nick is specified. Without a mask, only server links are shown.
locals (t)
Show local connection statistics (Total SND/RCV, etc). The replies show various local connection statistics.
/STATS t|locals [<server>]
mappings (R)
Show service mappings, configured server-implemented aliases to send messages to services. The replies show the command, the name (used for error messages), prepend (to prefix the message), and target (in nick@server format).
/STATS R|mappings [<server>]
maskrules (d)
Show dynamic routing configuration. The replies show "d" (auto), server name or mask, and the rule that applies to auto connects.
doc/readme.crules
/STATS d|maskrules [<server>]
memory (z)
Show Memory/Structure allocation information.
/STATS z|memory [<server>]
memusage (x)
List usage information.
/STATS x|memusage [<server>]
modules (L)
Show dynamically loaded modules.
/STATS L|modules [<server>]
motds (T)
Show Configured Message Of The Day files.
/STATS T|motds [<server>]
nameservers (a)
Show DNS servers.
local only
/STATS a|nameservers
operators (o)
Show Operator information. The replies show "O" (global) or "o" (local), mask, pass (masked with *), name, and class name.
/STATS o|operators [<server>]
ports (p)
Show Listening ports.
/STATS p|ports [[<server>] <mask>]
quarantines (q)
Show Quarantined channels list.
oper only
/STATS q|quarantines [[<server>] <mask>]
uptime (u)
Show Current uptime & highest connection count.
/STATS u|uptime [<server>]
usage (r)
Show System resource usage (Debug only).
/STATS r|usage [<server>]
userload (w)
Show Userload statistics.
/STATS w|userload [<server>]
uworld (U)
Show Service server information. The replies show which servernames or masks have special powers on the network.
/STATS U|uworld [<server>]
vservers (v)
Show Verbose server information.
/STATS v|vservers [[<server>] <mask>]
vserversmach (V)
Verbose server information, same as vservers (v), but without the formatting.
/STATS V|vserversmach [[<server>] <mask>]