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
- 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
- CHECK_URL_VALIDITY
- CLEANER_CLIENT_DATA_TIMEOUT
- CLEANER_CLIENT_HEADER_TIMEOUT
- CLEANER_SERVER_RESPONSE_TIMEOUT
- CLEANER_WAIT_FOR_CLIENT_TIMEOUT
- 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
- ERROR_LOG_SPLIT_MODE
- FORCE_CLIENT_DATA_TIMEOUT
- FORCE_CLIENT_HEADER_TIMEOUT
- FORCE_SERVER_RESPONSE_TIMEOUT
- FORCE_WAIT_FOR_CLIENT_TIMEOUT
- FREE_SLOTS_KEEP_ALIVE_LIMIT
- LINE_STACK_SIZE
- 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
- LOG_FILE_DIRECTORY
- 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
- MAX_CONNECTION
- 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
- REUSE_ADDRESS
- SECURITY
A boolean set to True if this is a secure socket (HTTPS/SSL).
- SECURITY_MODE
- CIPHER_PRIORITIES
- SEND_TIMEOUT
- SERVER_HOST
- SERVER_NAME
- SERVER_PORT
- SERVER_SOCK
Server socket ID.
- SESSION
- 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
- 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
- START_TIME
A timestamp in YYYY-MM-DD HH:MM:SS format. When the server was started.
- TRANSIENT_CLEANUP_INTERVAL
- TRANSIENT_LIFETIME
- UPLOAD_DIRECTORY
- UPLOAD_SIZE_LIMIT
- 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
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.