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.
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.
URI to the administrative page.
Number of current connections to the server.
- ERROR_LOG (boolean tag)
This is set to true if error logging is active.
The error log file full pathname.
- 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.
The log file full pathname.
The rotating log mode, this is either NONE, DAILY, MONTHLY or EACH_RUN.
A string to be placed in an img HTML tag. This is the name of the AWS logo image.
- 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.
A boolean set to True if this is a secure socket (HTTPS/SSL).
Server socket ID.
Number of seconds between each run of the session cleanup task. This task will remove all session data that have been obsoleted.
Number of seconds to keep session information. After this period a session is obsoleted and will be removed at next cleanup.
- 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.
A timestamp in YYYY-MM-DD HH:MM:SS format. When the server was started.
- 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.
AWS version string.
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.