Difference between revisions of "DISPLAY IOSTATS"

From Recital Documentation Wiki
Jump to: navigation, search
Line 34: Line 34:
 
* [[SET COMPILE|compile]]
 
* [[SET COMPILE|compile]]
 
* [[SET LOCKTYPE|locktype]]
 
* [[SET LOCKTYPE|locktype]]
 +
 +
====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 17 lines 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.
 
DISPLAY commands differ from LIST commands in that they pause every 17 lines 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.

Revision as of 15:19, 25 June 2009

Template:YLM to do

Class

Performance and Optimization


Purpose

Syntax

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


See Also

CLEAR PROFILE, DEBUG, DISPLAY PROFILE, DO, IOSTATS(), LIST IOSTATS, LIST PROFILE, PROFILE, SET CLUSTERING, SET COMPILE, SET DCACHE, SET DEVELOPMENT, SET ICACHE, SET IOLOGGING, SET IOSTATS, SET LOCKTYPE, SET PROFILE, SET REPLICATION, SET SYSLOGGING


Description

Environment settings

The first part of the listing 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


DISPLAY commands differ from LIST commands in that they pause every 17 lines 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.


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

display iostats

Products