DISPLAY IOSTATS

From Lianjapedia
Jump to: navigation, search

Purpose

Display logged input/output statistics

Syntax

DISPLAY IOSTATS [TO FILE <.txt filename> | (<expC>)]

See Also

CLEAR PROFILE, DEBUG, DISPLAY PROFILE, DO, IOSTATS(), LIST IOSTATS, LIST PROFILE, PROFILE, SET COMPILE, SET DCACHE, SET DEVELOPMENT, SET ICACHE, SET IOLOGGING, SET IOSTATS, SET NETWORK, SET PROFILE

Description

The DISPLAY IOSTATS command is used to display logged input/output statistics. SET IOSTATS must be ON for I/O statistics to be logged.

Environment settings

The first part of the display shows current settings (certain are internal and cannot be changed):

Statistics

The statistics follow:

  • opens
  • creates
  • closes
  • icreates
  • iopens
  • icloses
  • reads
  • writes
  • deletes
  • appends
  • dcachereads
  • dcachewrites
  • icachereads
  • icachewrites
  • ireads
  • iwrites
  • gcachereads
  • gcachewrites
  • gcachehits
  • gcacheturns
  • readlocks
  • writelocks
  • unlocks
  • fstatfs
  • keystrokes
  • popens
  • pcloses
  • doprocs
  • dofuncs
  • copies
  • disk reads
  • disk writes
  • elapsed time
  • disk operations
  • locking operations

DISPLAY commands differ from LIST commands in that they pause every screen until a key is pressed. You can cancel any further output at this point by pressing the [ABANDON] key. Where the output is sent to a file or printer, the pause is disabled.

Output keywords

Keyword Description
TO FILE <file> The display output will be sent to the specified file. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename.

Example

display iostats