Adding timestamps for Page Detailer: IBM HTTP Server
System Administration IBM HTTP Server documentation

Adding timestamps for Page Detailer

This section provides information on the Timestamp directives for the Page Detailer client. This information includes specific directive syntax, scopes, defaults and values. Links to related topics appear at the end of this section.

Identifying Page Detailer measurements

Page Detailer is a client that allows you to measure the time taken for the server to process requests. This client displays the amount of time it takes for the server to receive a request and the amount of time it takes from the client request, until the receipt of the reply. The Page Detailer client is included in WebSphere Studio Advanced Edition and in WebSphere Commerce Suite. See the WebSphere Studio Web page and the WebSphere Commerce Suite Web page for more information.

Page Detailer records many measurements, including the following:

  • Application data received size when a client requests a page from a server
  • Connect time
  • Delivery time
  • Header received size
  • Header sent size
  • Idle time
  • Server response time
  • SOCKS connect receive size
  • SOCKS connect sent size
  • SOCKS connect time

The headerts module enables Page Detailer to obtain timing data from the server. This data in turn provides more data accuracy. This module records the timestamp upon receipt of a request from a client and stores it in an Apache table used to track URLs, so you can insert a TS- macro into the reply header. When the reply header is prepared, it retrieves the original timestamp, gets a new timestamp, calculates the duration between the new and the original timestamp and then adds the information to the formatted reply header line.

Following is an example of the TS- macro, or formatted reply header line, in the reply header:
TS-APACHE-abnamelocationcompanycom: T=1000244873846593 D=1705

The TS-APACHE prefix is appended to the server identity found in the Timestampid directive followed by a colon, then the time of day and finally the duration at the server.

Working with Timestamp directives

Look for the following Timestamp directives in the httpd.conf file:


  • Description: Indicates whether or not to add the TS-macro.
  • Default: request
  • Module: mod_headerts
  • Multiple instances in the configuration file: No
  • Scope: Global
  • Syntax: timestamp <enable| request | disable
  • Values:
    • Enable - Always add the TS-macro.
    • Request - Only add the TS-macro if a TS-entry is present in the request header.

      Note Use the wd.SOCKS.exe proxy that comes with the Page Detailer client to add a TS-entry to the request header.

    • Disable - Never add the TS-macro.


  • Description: Indicates the identity of the timestamping source.
  • Default: None
  • Module: mod_headerts
  • Multiple instances in the configuration file: No
  • Scope: Global
  • Syntax: timestampid <server identity or name of timestamping source
  • Values: You can provide any name for your server identity.


Finding related information

     (Back to the top)