Enabling statistics
You can enable statistics reporting with the stats on command or with stanza entries in the configuration file for the specific server.
For details about using stanza entries to enable statistics, see Using stanza entries for statistics.
To enable the gathering of statistics with the stats on command, set the statistics report frequency, event count, and destination for the component. For more information about the stats on command, see server task stats.
Note:
- By default, the WebSEAL pdweb.threads, pdweb.doccache, and pdweb.jmt components are always enabled and cannot be disabled.
- Using stats on and
changing the runtime Policy server trace settings affects only the
current run of the Policy server. If the Policy server is stopped
and then started later, the default trace settings take effect. To
persist trace settings across multiple runs of the Policy server,
modify the
/etc/pdmgrd_routingfile.
When you enable statistics, you can specify one log file for the
statistics report. If you specify two equivalent commands that differ
only on the destination, the second invocation deactivates the first
log file and activates the second log file. The following example
illustrates this limitation:
#pdadmin> server task default-webseald-abc.ibm.com stats on pdweb.http 20 \
file path=A.log #pdadmin> server task default-webseald-abc.ibm.com stats on pdweb.http 20 \
file path=B.logThe first command enables
the pdweb.http component and sends statistics reports
to the A.log file. The second command attempts to
activate a second log file, B.log. However, this
action actually deactivates the A.log file while
it also activates the B.log file.