SET IOSTATS

From Lianjapedia
Revision as of 08:36, 4 February 2013 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Enables or disables the logging of input/output statistics

Syntax

SET IOSTATS ON | OFF | TO <expN>

See Also

CLEAR IOSTATS, CLEAR PROFILE, DELETE, DISPLAY PROFILE, DO, INDEX, IOSTATS(), LIST PROFILE, PROFILE, RECALL, REPLACE, SET COMPILE, SET DCACHE, SET ICACHE, SET IOLOGGING, SET PROFILE, USE

Description

The SET IOSTATS command enables or disables the logging of input/output statistics. SET IOSTATS should only be set ON to enable the collection of statistics for performance tuning; it should be set OFF on production systems to optimize concurrent user access. The DISPLAY IOSTATS and LIST IOSTATS commands and the IOSTATS() function can be used to output the statistics to the screen, file or printer.

For details of the statistics logged, please see LIST IOSTATS. CLEAR IOSTATS is used to reset the log.

Example

set iostats on
do myapp
list iostats