Enabling statistics with frequency and destination
To enable gathering of statistics at a designated frequency and
write the statistics to a specific file, use the stats on command
and specify the following options:
- component
- interval
- destination
The interval option, without a count option, indefinitely sends statistics reports after a specific number of seconds elapses. The destination option specifies the exact file where the statistics are written. When you specify a file that is different for the file log agent for the component, you can specify more configuration options.
The following example enables the gathering of statistics for the pdweb.http component of a
WebSEAL instance where:
- A statistics report is sent to the
jmt-stats.logfile every 20 seconds. - A new file is created each time that the buffer is flushed.
#pdadmin> server task default-webseald-abc.ibm.com stats on pdweb.http 20 \
file path=jmt-stats.log,rollover_size=-1The growth of the log file is controlled by the rollover_size configuration
option. For complete details about configuring event logging, see
the Troubleshooting topics in the Knowledge Center.