onstat -D command: Print page-read and page-write information

Use the onstat -D command to display page-read and page-write information for the first 50 chunks in each space.

Figure 1. Syntax:

1  onstat   -D

Example output

Figure 2. onstat -D command output
Informix Dynamic Server Version 14.10.F -- On-Line -- Up 00:19:16 -- 173060 Kbytes
2023-05-31 12:35:42

Dbspaces
address          number   flags      fchunk   nchunks  pgsize   flags    owner    name
45122028         1        0x20001    1        1        2048     N  BA    informix rootdbs
45255c50         2        0x28001    2        1        2048     N SBA    informix sbspace
45ee2790         3        0x40028001 3        1        2048     N sBA    informix sb_ext1
    External SBLOBspace directories: /work/sbdir1
                                     /work/sbdir2
3 active, 2047 maximum

Chunks
address          chunk/dbs     offset     page Rd  page Wr  pathname
45122280         1      1      0          2273     241      rootdbs_chunk_1
45a42028         2      2      0          29       13       sbspace
46064488         3      3      0          8        22       /work/sb_ext1
3 active, 32766 maximum

Output description

The output of onstat -D is almost identical to the output of onstat -d. The following columns are unique to onstat -D. For information on the other output columns see ids_adr_0504.html#ids_adr_0504.
page Rd
Is the number of pages read
page Wr
Is the number of pages written