# 11. Status page

The status page gives information about the AWS internal status. For example it returns the server socket ID, the number of simultaneous connection, the number of time a connection has been used…

To display the information AWS use a template file. The template file (default is aws_status.thtml) is an HTML file with some specific tags recognized by the parser. For more information about how the template parser works, please look for the template parser documentation distributed with AWS.

Here are the tag variables recognized by AWS status page:

ABORTABLE_V (vector tag)

  A list of boolean. One for each connection. True means that this connection can be aborted if none is available. This is to be inserted in a template table.

ACCEPT_QUEUE_SIZE

  see Configuration options.

ACCEPTOR_LENGTH

  Number of sockets in the internal socket set.

ACTIVITY_COUNTER_V (vector tag)

  A list of natural. One for each connection. This is the number of request the connection has answered. This counter is reset each time the connection is closed. In other word this is the number of request a keep-alive connection has processed.

ACTIVITY_TIME_STAMP_V (vector tag)

  A list of date. One for each connection. This is the time of the latest request answered.

ADMIN

  URI to the administrative page.

CASE_SENSITIVE_PARAMETERS

  see Configuration options.

CHECK_URL_VALIDITY

  see Configuration options.

CLEANER_CLIENT_DATA_TIMEOUT

  see Configuration options.

CLEANER_CLIENT_HEADER_TIMEOUT

  see Configuration options.

CLEANER_SERVER_RESPONSE_TIMEOUT

  see Configuration options.

CLEANER_WAIT_FOR_CLIENT_TIMEOUT

  see Configuration options.

CURRENT_CONNECTIONS

  Number of current connections to the server.

ERROR_LOG (boolean tag)

  This is set to true if error logging is active.

ERROR_LOG_FILE

  The error log file full pathname.

ERROR_LOG_FILENAME_PREFIX

  see Configuration options.

ERROR_LOG_SPLIT_MODE

  see Configuration options.

FORCE_CLIENT_DATA_TIMEOUT

  see Configuration options.

FORCE_CLIENT_HEADER_TIMEOUT

  see Configuration options.

FORCE_SERVER_RESPONSE_TIMEOUT

  see Configuration options.

FORCE_WAIT_FOR_CLIENT_TIMEOUT

  see Configuration options.

FREE_SLOTS_KEEP_ALIVE_LIMIT

  see Configuration options.

LINE_STACK_SIZE

  see Configuration options.

KEYS_M (matrix tag)

  A list of set of keys (for each key correspond a value in the tag VALUES_L, see below). Each key in the vector tag start with an HTML “<td>” tag. This is to be able to display the key/value in column.

LOG (boolean tag)

  This is set to true if logging is active.

LOG_FILE

  The log file full pathname.

LOG_FILENAME_PREFIX

  see Configuration options.

LOG_FILE_DIRECTORY

  see Configuration options.

LOG_MODE

  The rotating log mode, this is either NONE, DAILY, MONTHLY or EACH_RUN.

LOGO

  A string to be placed in an img HTML tag. This is the name of the AWS logo image.

MAX_CONCURRENT_DOWNLOAD

  see Configuration options.

MAX_CONNECTION

  see Configuration options.

PEER_NAME_V (vector tag)

  A list of peer name. One for each connection. This is the name of the last peer connected to the slot.

PHASE_V (vector tag)

  What is the slot currently doing, for example Server_Processing or Closed.

RECEIVE_TIMEOUT

  see Configuration options.

REUSE_ADDRESS

  see Configuration options.

SECURITY

  A boolean set to True if this is a secure socket (HTTPS/SSL).

SECURITY_MODE

  see Configuration options.

CIPHER_PRIORITIES

  see Configuration options.

SEND_TIMEOUT

  see Configuration options.

SERVER_HOST

  see Configuration options.

SERVER_NAME

  see Configuration options.

SERVER_PORT

  see Configuration options.

SERVER_SOCK

  Server socket ID.

SESSION

  see Configuration options.

SESSION_CLEANUP_INTERVAL

  Number of seconds between each run of the session cleanup task. This task will remove all session data that have been obsoleted.

SESSION_LIFETIME

  Number of seconds to keep session information. After this period a session is obsoleted and will be removed at next cleanup.

SESSION_NAME

  see Configuration options.

SESSIONS_TERMINATE_V (vector tag)

  A list of time. Each item correspond to the time when the session will be obsoleted.

SESSIONS_TS_V (vector tag)

  A list of time stamp. Each item correspond to a session last access time.

SESSIONS_V (vector tag)

  A list of session ID.

SLOT_ACTIVITY_COUNTER_V (vector tag)

  A list of natural. One for each connection. This is the total number of requests the slot has answered. This counter is never reseted.

SOCK_V (vector tag)

  A list of sockets ID. One for each connection.

STATUS_PAGE

  see Configuration options.

START_TIME

  A timestamp in YYYY-MM-DD HH:MM:SS format. When the server was started.

TRANSIENT_CLEANUP_INTERVAL

  see Configuration options.

TRANSIENT_LIFETIME

  see Configuration options.

UPLOAD_DIRECTORY

  see Configuration options.

UPLOAD_SIZE_LIMIT

  see Configuration options.

VALUES_M (matrix tag)

  A list of set of values (for each value correspond a key in the vector tag KEYS_L, see above). Each key in the vector tag start with an HTML “<td>” tag. This is to be able to display the key/value in column.

VERSION

  AWS version string.

WWW_ROOT

  see Configuration options.

There is also all Templates_Parser specific tags. This is not listed here please have a look at the Templates_Parser documentation distributed with AWS.