Enable statistics for a single component
In a server configuration file, we can enable gathering of statistics using the stats and logcfg entries. These entries are in the [aznapi-configuration] stanza. In the following example:
- The stats stanza entry enables gathering of statistics for the pdweb.jmt component. The frequency is 20 seconds.
- The logcfg stanza entry specifies the destination for the statistics report as the jmt.log file. The entry contains more configuration information for the rollover_size and flush configuration settings:
[aznapi-configuration] stats = pdweb.jmt 20 logcfg = stats.pdweb.jmt:file path=jmt.log,rollover_size=-1,flush=20
For detailed information about configuration files, see the Administering topics in the Knowledge Center.
Parent topic: Use stanza entries for statistics