Applicable in Service-class directives.
The stats-xml function creates a performance report in XML format. If performance buckets have been defined, this performance report includes them.
However, you do need to initialize this function using the stats-init function in magnus.conf, then use the NameTrans function to direct requests to the stats-xml function. See the examples below.
The report is generated here:
http://server_id:port/stats-xml/iwsstats.xml
The associated DTD file is here:
http://server_id:port/stats-xml/iwsstats.dtd
For more information about the format of the iwsstats.xml file, see the Sun Java System Web Server 6.1 SP7 Performance Tuning, Sizing, and Scaling Guide
The following table describes parameters for the stats-xml function.
Table 4–69 stats-xml Parameters
Parameter |
Description |
---|---|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
bucket |
(Optional) Common to all obj.conf functions. |
In magnus.conf:
Init fn="stats-init" update-interval="5" virtual-servers="2000" profiling="yes" |
In obj.conf:
<Object name="default"> ... NameTrans fn="assign-name" from="/stats-xml/*" name="stats-xml" ... </Object> ... <Object name="stats-xml"> Service fn="stats-xml" </Object> |