Log in | Back to darenet.org

ircu/STATS

(New page: Shows server configuration and statistics. /STATS <name>] [[<server>] [<mask>] The <server> parameter can be used to get the replies from a remote server, or from the local ...)
 
(4 intermediate revisions not shown)
Line 4: Line 4:
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>.  
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)==
==access (i)==
Line 13: Line 14:
I user@host max name port class
I user@host max name port class
-
  /STATS i|access <nowiki>[</nowiki>[[ircu_server_parameter|<server>]]] <mask>]
+
  /STATS i|access <nowiki>[[<server>] <mask>]</nowiki>
==classes (y)==
==classes (y)==
Line 19: Line 20:
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).
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS y|classes [<server>]
==commands (m)==
==commands (m)==
Line 25: Line 26:
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.  
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS m|commands [<server>]
==connect (c)==
==connect (c)==
Line 31: Line 32:
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.  
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS c|connect [<server>]
==crules (D)==
==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 [[ircu_connect|/CONNECT]]).
+
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
doc/readme.crules
-
  /STATS D|crules [[ircu_server_parameter|[<server>]]]
+
  /STATS D|crules [<server>]
==engine (e)==
==engine (e)==
Line 45: Line 46:
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().
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS e|engine [<server>]
==features (f)==
==features (f)==
Line 51: Line 52:
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.
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS f|features [<server>]
==glines (g)==
==glines (g)==
Line 57: Line 58:
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.  
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS g|glines [<server>]
==histogram (j)==
==histogram (j)==
Line 63: Line 64:
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.
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS j|histogram [<server>]
==iauth==
==iauth==
Line 69: Line 70:
Show IAuth statistics.
Show IAuth statistics.
-
  /STATS iauth [[ircu_server_parameter|[<server>]]]
+
  /STATS iauth [<server>]
==iauthconf==
==iauthconf==
Line 75: Line 76:
Show IAuth configuration.
Show IAuth configuration.
-
  /STATS iauthconf [[ircu_server_parameter|[<server>]]]
+
  /STATS iauthconf [<server>]
==jupes (J)==
==jupes (J)==
Line 81: Line 82:
Show nickname jupes, nicks which cannot be used by local clients, reserved for services, security reasons, or otherwise.
Show nickname jupes, nicks which cannot be used by local clients, reserved for services, security reasons, or otherwise.
-
  /STATS J|jupes [[ircu_server_parameter|[<server>]]]
+
  /STATS J|jupes [<server>]
==klines (k)==
==klines (k)==
Line 87: Line 88:
Show local bans (K-Lines). The replies show "k" (IP based) or "K" (host based), user@host, reason, and realname.
Show local bans (K-Lines). The replies show "k" (IP based) or "K" (host based), user@host, reason, and realname.
-
  /STATS k|klines <nowiki>[</nowiki>[[ircu_server_parameter|[<server>]]] <mask>]
+
  /STATS k|klines <nowiki>[[<server>] <mask>]</nowiki>
*Ordinary users
*Ordinary users
Line 102: Line 103:
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).
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 <nowiki>[</nowiki>[[ircu_server_parameter|[<server>]]] <mask>]
+
  /STATS l|links <nowiki>[[<server>] <mask>]</nowiki>
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.
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.
Line 110: Line 111:
Show local connection statistics (Total SND/RCV, etc). The replies show various local connection statistics.
Show local connection statistics (Total SND/RCV, etc). The replies show various local connection statistics.
-
  /STATS t|locals [[ircu_server_parameter|[<server>]]]
+
  /STATS t|locals [<server>]
==mappings (R)==
==mappings (R)==
Line 116: Line 117:
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).
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 [[ircu_server_parameter|[<server>]]]
+
  /STATS R|mappings [<server>]
==maskrules (d)==
==maskrules (d)==
Line 124: Line 125:
doc/readme.crules
doc/readme.crules
-
  /STATS d|maskrules [[ircu_server_parameter|[<server>]]]
+
  /STATS d|maskrules [<server>]
==memory (z)==
==memory (z)==
Line 130: Line 131:
Show Memory/Structure allocation information.
Show Memory/Structure allocation information.
-
  /STATS z|memory [[ircu_server_parameter|[<server>]]]
+
  /STATS z|memory [<server>]
==memusage (x)==
==memusage (x)==
Line 136: Line 137:
List usage information.
List usage information.
-
  /STATS x|memusage [[ircu_server_parameter|[<server>]]]
+
  /STATS x|memusage [<server>]
==modules (L)==
==modules (L)==
Line 142: Line 143:
Show dynamically loaded modules.
Show dynamically loaded modules.
-
  /STATS L|modules [[ircu_server_parameter|[<server>]]]
+
  /STATS L|modules [<server>]
==motds (T)==
==motds (T)==
Line 148: Line 149:
Show Configured Message Of The Day files.
Show Configured Message Of The Day files.
-
  /STATS T|motds [[ircu_server_parameter|[<server>]]]
+
  /STATS T|motds [<server>]
==nameservers (a)==
==nameservers (a)==
Line 162: Line 163:
Show Operator information. The replies show "O" (global) or "o" (local), mask, pass (masked with *), name, and class name.
Show Operator information. The replies show "O" (global) or "o" (local), mask, pass (masked with *), name, and class name.
-
  /STATS o|operators [[ircu_server_parameter|[<server>]]]
+
  /STATS o|operators [<server>]
==ports (p)==
==ports (p)==
Line 168: Line 169:
Show Listening ports.
Show Listening ports.
-
  /STATS p|ports <nowiki>[</nowiki>[[ircu_server_parameter|[<server>]]] <mask>]
+
  /STATS p|ports <nowiki>[[<server>] <mask>]</nowiki>
==quarantines (q)==
==quarantines (q)==
Line 176: Line 177:
oper only
oper only
-
  /STATS q|quarantines <nowiki>[</nowiki>[[ircu_server_parameter|[<server>]] <mask>]
+
  /STATS q|quarantines <nowiki>[[<server>] <mask>]</nowiki>
==uptime (u)==
==uptime (u)==
Line 182: Line 183:
Show Current uptime & highest connection count.
Show Current uptime & highest connection count.
-
  /STATS u|uptime [[ircu_server_parameter|[<server>]]]
+
  /STATS u|uptime [<server>]
==usage (r)==
==usage (r)==
Line 188: Line 189:
Show System resource usage (Debug only).
Show System resource usage (Debug only).
-
  /STATS r|usage [[ircu_server_parameter|[<server>]]]
+
  /STATS r|usage [<server>]
==userload (w)==
==userload (w)==
Line 194: Line 195:
Show Userload statistics.
Show Userload statistics.
-
  /STATS w|userload [[ircu_server_parameter|[<server>]]]
+
  /STATS w|userload [<server>]
==uworld (U)==
==uworld (U)==
Line 200: Line 201:
Show Service server information. The replies show which servernames or masks have special powers on the network.  
Show Service server information. The replies show which servernames or masks have special powers on the network.  
-
  /STATS U|uworld [[ircu_server_parameter|[<server>]]]
+
  /STATS U|uworld [<server>]
==vservers (v)==
==vservers (v)==
Line 206: Line 207:
Show Verbose server information.
Show Verbose server information.
-
  /STATS v|vservers <nowiki>[</nowiki>[[ircu_server_parameter|[<server>]]] <mask>]
+
  /STATS v|vservers <nowiki>[[<server>] <mask>]</nowiki>
==vserversmach (V)==
==vserversmach (V)==
Line 212: Line 213:
Verbose server information, same as vservers (v), but without the formatting.
Verbose server information, same as vservers (v), but without the formatting.
-
  /STATS V|vserversmach <nowiki>[</nowiki>[[ircu_server_parameter|[<server>]] <mask>]
+
  /STATS V|vserversmach <nowiki>[[<server>] <mask>]</nowiki>
[[ircu|(Go Back)]]
[[ircu|(Go Back)]]

Current revision as of 22:09, 15 March 2008

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>.


In This Guide:

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>]


(Go Back)