NAME
dgd_status - return statistics about the state of DGD
SYNOPSIS
list dgd_status([obj[, str]])
DESCRIPTION
This function returns a list containing various statistics
about the server as a whole (given no arguments), an individual
MOO object (given the object), or a MOO verb (given both an
object and the name of the verb).
For objects and verbs, this function returns information about
the underlying LPC object representing the object or verb. The
elements of the returned list are:
[1] the date/time the LPC object was compiled
[2] the program size of the object (in bytes)
[3] the data size of the object (in bytes)
[4] the number of swap sectors consumed by the object
Given no arguments, this function returns a list with the
following elements:
[1] the date/time the server was bootstrapped
[2] the date/time the server was last restarted
[3] the virtual uptime of the server (in seconds)
[4] the total number of sectors in the swap file
[5] the number of swap sectors currently in use
[6] the size of a single swap sector (in bytes)
[7] the number of objects swapped out per minute
[8] the number of objects swapped out per 5 minutes
[9] the amount of static memory allocated (in bytes)
[10] the amount of static memory used (in bytes)
[11] the amount of dynamic memory allocated (in bytes)
[12] the amount of dynamic memory used (in bytes)
[13] the current maximum number of LPC objects
[14] the current total number of existing LPC objects
[15] the current maximum number of suspended tasks
[16] the current total number of suspended tasks
[17] the current maximum number of connections
[18] the current total number of connections
[19] a boolean: DGD net package installed?
[20] a boolean: outbound networking enabled?
[21] a boolean: multi-port listening enabled?
[22] a boolean: server messages enabled?
[23] the telnet port from the configuration file
[24] the binary port from the configuration file
[25] a list of the current open (listening) network ports,
or {} if multi-port listening is not enabled
SEE ALSO
dgd_server_version, dgd_lpmoo_version, dgd_object_name