The onstat -g rqm command prints statistics and contents of the low-level queues (send 4queue, receive queue, ack send queue, sync send queue, and control send queue) 4managed by the Reliable Queue Manager (RQM). The RQM manages the insertion 4and removal of items to and from the various queues. The RQM also manages 4spooling of the in-memory portions of the queue to and from disk. The -g rqm option displays the contents of the queue, size of 4the transactions in the queue, how much of the queue is in memory and on disk, 4the location of various handles to the queue, and the contents of the various 4progress tables. You can choose to print information for all queues or for 4just one queue by using one of the modifiers described below.
4If a queue is empty, no information is printed for that queue.
4The onstat -g rqm command has the following formats: 4
4onstat -g rqm
4onstat -g rqm modifier
4The following table describes the values for modifier.
4 4Modifier | 4Action | 4
ACKQ | 4Prints the ack send queue | 4
CNTRLQ | 4Prints the control send queue | 4
RECVQ | 4Prints the receive queue | 4
SENDQ | 4Prints the send queue | 4
SYNCQ | 4Prints the sync send queue | 4
FULL | 4Prints full information about every in-memory transaction 4for every queue | 4
BRIEF | 4Prints a brief summary of the number of transactions in
4each of the queues and the replication servers for which the data is queued
4 4Use this modifier to quickly identify sites where a problem exists. 4If large amounts of data are queued for a single server, then that server 4is probably down or off the network. |
4
VERBOSE | 4Prints all the buffer headers in memory | 4
When you specify a modifier to select a specific queue, the command prints 4all the statistics for that queue and information about the first and last 4in-memory transactions for that queue.
4The other 4modifiers of the onstat -g rqm command are used primarily 4as a debugging tool and by Technical Support.
4The output for the SENDQ modifier contains the following sections:
4The following example shows output for the onstat -g rqm 4SENDQ command.
4RQM Statistics for Queue (0x0D3DF018) trg_send
4
Transaction Spool Name: trg_send_stxn
4
Insert Stamp: 35/0
4
Flags: SEND_Q, SPOOLED, PROGRESS_TABLE, NEED_ACK
4
Txns in queue: 35
4
Log Events in queue: 0
4
Txns in memory: 35
4
Txns in spool only: 0
4
Txns spooled: 0
4
Unspooled bytes: 176206
4
Size of Data in queue: 176206 Bytes
4
Real memory in use: 176206 Bytes
4
Pending Txn Buffers: 0
4
Pending Txn Data: 0 Bytes
4
Max Real memory data used: 176206 (2457600) Bytes
4
Max Real memory hdrs used 65988 (2457600) Bytes
4
Total data queued: 176206 Bytes
4
Total Txns queued: 35
4
Total Txns spooled: 0
4
Total Txns restored: 0
4
Total Txns recovered: 0
4
Spool Rows read: 0
4
Total Txns deleted: 0
4
Total Txns duplicated: 0
4
Total Txn Lookups: 363
4
First Txn (0x0D60C018) Key: 1/9/0x000d4bb0/0x00000000
4
Txn Stamp: 1/0, Reference Count: 0.
4
Txn Flags: Notify
4
Txn Commit Time: (1094670993) 2004/09/08 14:16:33
4
Txn Size in Queue: 5908
4
First Buf's (0x0D31C9E8) Queue Flags: Resident
4
First Buf's Buffer Flags: TRG, Stream
4
NeedAck: Waiting for Acks from <[0004]>
4
No open handles on txn.
4
Last Txn (0x0D93A098) Key: 1/9/0x00138ad8/0x00000000
4
Txn Stamp: 35/0, Reference Count: 0.
4
Txn Flags: Notify
4
Txn Commit Time: (1094671237) 2004/09/08 14:20:37
4
Txn Size in Queue: 6298
4
First Buf's (0x0D92FFA0) Queue Flags: Resident
4
First Buf's Buffer Flags: TRG, Stream
4
NeedAck: Waiting for Acks from <[0004]>
4
Traverse handle (0x0D045018) for thread CDRNsA3 at txn
4 (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D08E018) for thread CDRNsA4 at txn
4 (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D523018) for thread CDRNsA5 at txn
4 (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D0D9018) for thread CDRNsA6 at txn
4 (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D4041D8) for thread CDRNsA2 at Head_of_Q,
4 Flags: None
4
Traverse handle (0x0D3F01D8) for thread CDRNrA2 at
4 Head_of_Q, Flags: None
4
Traverse handle (0x0D045018) for thread CDRNsA3 at
4 txn (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D31C018) for thread CDRNrA3 at
4 Head_of_Q, Flags: None
4
Traverse handle (0x0D08E018) for thread CDRNsA4 at
4 txn (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D4C8018) for thread CDRNrA4 at
4 Head_of_Q, Flags: None
4
Traverse handle (0x0D523018) for thread CDRNsA5 at
4 txn (0x0D93A098) End_of_Q,Flags: None
4
Traverse handle (0x0D57F018) for thread CDRNrA5 at
4 Head_of_Q, Flags: None
4
Traverse handle (0x0D0D9018) for thread CDRNsA6 at
4 txn (0x0D93A098) End_of_Q,Flags: None
4
Server Group Bytes Queued Acked Sent
4
----------------------------------------------------------
4
6 0x10009 0 1/9/138ad8/0 - 1/9/138ad8/0
4
5 0x10009 0 1/9/138ad8/0 - 1/9/138ad8/0
4
4 0x10009 0 1/9/138ad8/0 - 1/9/138ad8/0
4
3 0x10009 0 1/9/138ad8/0 - 1/9/138ad8/0
4
2 0x10009 4154 efffffff/efffffff/efffffff/efffffff
4- 1//138ad8/0
4
6 0x10006 0 1/9/12d8f8/0 - 1//12d8f8/0
4
5 0x10006 0 1/9/12d8f8/0 - 1//12d8f8/0
4
4 0x10006 0 1/9/12d8f8/0 - 1/9/12d8f8/0
4
3 0x10006 0 1/9/12d8f8/0 - 1/9/12d8f8/0
4
2 0x10006 31625 efffffff/efffffff/efffffff/efffffff
4– 1/9/12d8f8/0
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]