Difference between revisions of "LIST IOSTATS"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
List logged input/output statistics
 
List logged input/output statistics
 
  
 
==Syntax==
 
==Syntax==
 
LIST IOSTATS [TO FILE <.txt filename> | (<expC>) ] | [TO PRINT]
 
LIST IOSTATS [TO FILE <.txt filename> | (<expC>) ] | [TO PRINT]
 
  
 
==See Also==
 
==See Also==
 
[[CLEAR PROFILE]], [[DB_PRINT]], [[DEBUG]], [[DISPLAY IOSTATS]], [[DISPLAY PROFILE]], [[DO]], [[IOSTATS()]], [[LIST PROFILE]], [[PROFILE]], [[SET COMPILE]], [[SET DCACHE]], [[SET DEVELOPMENT]], [[SET ICACHE]], [[SET IOLOGGING]], [[SET IOSTATS]], [[SET LOCKTYPE]], [[SET NETWORK]], [[SET PAGELENGTH]], [[SET PAGEWIDTH]], [[SET PRINTER]], [[SET PROFILE]], [[SET REPLICATION]], [[SET SYSLOGGING]]
 
[[CLEAR PROFILE]], [[DB_PRINT]], [[DEBUG]], [[DISPLAY IOSTATS]], [[DISPLAY PROFILE]], [[DO]], [[IOSTATS()]], [[LIST PROFILE]], [[PROFILE]], [[SET COMPILE]], [[SET DCACHE]], [[SET DEVELOPMENT]], [[SET ICACHE]], [[SET IOLOGGING]], [[SET IOSTATS]], [[SET LOCKTYPE]], [[SET NETWORK]], [[SET PAGELENGTH]], [[SET PAGEWIDTH]], [[SET PRINTER]], [[SET PROFILE]], [[SET REPLICATION]], [[SET SYSLOGGING]]
 
  
 
==Description==
 
==Description==
Line 79: Line 76:
 
|-
 
|-
 
|}
 
|}
 
  
 
==Example==
 
==Example==

Revision as of 12:35, 12 December 2012

Purpose

List logged input/output statistics

Syntax

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

See Also

CLEAR PROFILE, DB_PRINT, DEBUG, DISPLAY IOSTATS, DISPLAY PROFILE, DO, IOSTATS(), LIST PROFILE, PROFILE, SET COMPILE, SET DCACHE, SET DEVELOPMENT, SET ICACHE, SET IOLOGGING, SET IOSTATS, SET LOCKTYPE, SET NETWORK, SET PAGELENGTH, SET PAGEWIDTH, SET PRINTER, SET PROFILE, SET REPLICATION, SET SYSLOGGING

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:

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

Output keywords

Keyword Description
TO <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. If no file extension is specified, then ".txt" will be used. The command SET PAGELENGTH governs the output file pagination and SET PAGEWIDTH defines the width of each page. Page numbers are centered on the bottom of the page according to width.
TO PRINT The display output will be sent to a printer. The TO PRINT option will default to a local printer unless the command SET PRINTER TO \\SPOOLER is issued. The print request will then be spooled to the system printer, which is defined by the environment variable DB_PRINT.

Example

list iostats

Products

Lianja, Lianja Server