Difference between revisions of "DISPLAY IOSTATS"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) (→Output keywords) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
− | + | Display logged input/output statistics | |
Line 14: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[CLEAR PROFILE]], [[DEBUG]], [[DISPLAY PROFILE]], [[DO]], [[IOSTATS()]], [[LIST IOSTATS]], [[LIST PROFILE]], [[PROFILE | + | [[CLEAR PROFILE]], [[DB_PRINT]], [[DEBUG]], [[DISPLAY PROFILE]], [[DO]], [[IOSTATS()]], [[LIST IOSTATS]], [[LIST PROFILE]], [[PROFILE]], [[SET COMPILE]], [[SET DCACHE]], [[SET DEVELOPMENT]], [[SET ICACHE]], [[SET IOLOGGING]], [[SET IOSTATS]], [[SET LOCKTYPE]], [[SET NETWORK]], [[SET PRINTER]], [[SET PROFILE]], [[SET REPLICATION]], [[SET SYSLOGGING]] |
==Description== | ==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==== | ====Environment settings==== | ||
− | The first part of the | + | The first part of the display shows current settings: |
− | * [[SET | + | * [[SET NETWORK|cluster]] |
* [[SET REPLICATION|replication]] | * [[SET REPLICATION|replication]] | ||
* [[SET IOLOGGING|iologging]] | * [[SET IOLOGGING|iologging]] | ||
Line 35: | Line 30: | ||
* [[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 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==== | ||
{| class="wikitable" | {| class="wikitable" | ||
!Keyword||Description | !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 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. 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. | |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. | ||
Line 52: | Line 87: | ||
</code> | </code> | ||
− | |||
+ | ==Products== | ||
+ | Recital, Recital Server | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Performance and Optimization]] | [[Category:Performance and Optimization]] | ||
[[Category:Performance and Optimization Commands]] | [[Category:Performance and Optimization Commands]] |
Latest revision as of 16:07, 10 April 2012
Contents
Purpose
Display logged input/output statistics
Syntax
DISPLAY IOSTATS [TO FILE <.txt filename> | (<expC>)] | [TO PRINT]
See Also
CLEAR PROFILE, DB_PRINT, DEBUG, DISPLAY PROFILE, DO, IOSTATS(), LIST IOSTATS, LIST PROFILE, PROFILE, SET COMPILE, SET DCACHE, SET DEVELOPMENT, SET ICACHE, SET IOLOGGING, SET IOSTATS, SET LOCKTYPE, SET NETWORK, 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:
- cluster
- replication
- iologging
- syslogging
- iostats
- dcache
- fcache
- icache
- dcache
- development
- compile
- 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 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. 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
Recital, Recital Server