onstat -g ioq command: Print I/O queue information

Use the onstat -g ioq command to display statistics about the number and types of operations performed by I/O queues.

Read syntax diagramSkip visual syntax diagram
Syntax:

>>-onstat-- -g--ioq--+------------+----------------------------><
                     '-queue_name-'   

If a queue_name is given then only queues with that name are shown. If no queue_name is given then information is given for all queues.

Example output

Figure 1. onstat -g ioq command output
AIO I/O queues:
q name/id    len maxlen totalops  dskread dskwrite  dskcopy
sqli_dbg   0      0      0        0        0        0        0 
 fifo   0      0      0        0        0        0        0 
  adt   0      0      0        0        0        0        0 
  msc   0      0      1      537        0        0        0 
  aio   0      0      3     6537      238     5777        0 
  pio   0      0      2     1103        0     1102        0 
  lio   0      0      2    11795        0    11794        0 
  gfd   3      0     17    17489     1526    15963        0 
  gfd   4      0     17    18347     2384    15963        0 
  gfd   5      0     16      220       41      179        0 
  gfd   6      0      4        4        0        4        0 
  gfd   7      0      4        4        0        4        0 
  gfd   8      0      4        4        0        4        0 
  gfd   9      0      9       54       24       30        0 
  gfd  10      0     16      149       40      109        0 
  gfd  11      0     16      621      128      493        0 
  gfd  12      0     16     1953     1146      807        0 
  gfd  13      0     16      409       71      338        0 
  gfd  14      0     16      378       60      318        0 

Output description

q name/id
The name and number of the I/O queue. The name indicates what type of queue it is. The number is used to tell queues of the same name apart.

Here is a list of the possible queue names and what each type of queue handles:

sqli_dbg
Handles I/O for IBM® Technical Support's SQL Interface Debugging feature
fifo
Handles I/O for FIFO VPs
adt
Handles auditing I/O
msc
Handles miscellaneous I/O
aio
Handles HCL Informix® asynchronous I/O
kio
Handles kernel AIO
pio
Handles physical logging I/O
lio
Handles logical logging I/O
gfd
Global File Descriptor - Each primary and mirror chunk is given a separate global file descriptor. Individual gfd queues are used depending on whether kaio is on and the associated chunk is cooked or raw.
len
The number of pending I/O requests in the queue
maxlen
The largest number of I/O requests that have been in the queue at the same time
totalops
The total number of I/O operations that have been completed for the queue
dskread
Total number of completed read operations for the queue
dskwrite
Total number of completed write operations for the queue
dskcopy
Total number of completed copy operations for the queue

Copyright© 2019 HCL Technologies Limited