2.0/Modules/os stats

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_stats
Author Anope

Description

Without any option, shows the current number of users online, and the highest number of users online since Services was started, and the length of time Services has been running.

With the AKILL option, displays the current size of the AKILL list and the current default expiry time.

The RESET option currently resets the maximum user count to the number of users currently present on the network.

The UPLINK option displays information about the current server Anope uses as an uplink to the network.

The HASH option displays information about the hash maps.

The ALL option displays all of the above statistics.

  • NOTE: Access to this command requires the permission operserv/stats to be present in your opertype.

Commands

stats [AKILL | HASH | UPLINK | UPTIME | ALL | RESET]

Examples

/msg OperServ STATS ALL

Default Configuration

/*
 * os_stats
 *
 * Provides the operserv/stats command.
 *
 * Used to show statistics about services.
 */
module { name = "os_stats" }
command { service = "OperServ"; name = "STATS"; command = "operserv/stats"; permission = "operserv/stats"; }