Commands
STATS
Usage: `/STATS [server] [query]'
The STATS command is used to query statistics of certain server. If the
[server] parameter is omitted, only the end of stats reply is sent
back. The implementation of this command is highly dependent on the
server which replies, although the server must be able to supply
information as described by the queries below (or similar).
The currently supported queries are:
- c - Returns a list of servers which the server may connect to or allow connections
from.
- h - Returns a list of servers which are either forced to be treated as leaves or
allowed to act as hubs.
- i - Returns a list of hosts which the server allows a client to connect from.
- k - Returns a list of banned username/hostname combinations for that server.
- l - Returns a list of the server's connections, showing how long each connection
has been established and the traffic over that connection in bytes and messages
for each direction.
- m - Returns a list of commands supported by the server and the usage count for
each if the usage count is non zero.
- o - Returns a list of hosts from which normal clients may become operators.
- y - Show Y (Class) lines from server's configuration file.
- u - Returns a string showing how long the server has been up.
Examples:
`/STATS irc.server.com u'
Shows how long server IRC.SERVER.COM has been up