Use the -x option to display transaction information on the database server. The transaction information is required only in the following situations:
IBM Informix Dynamic Server Version 10.00.UC1 -- On-Line -- Up 03:58:41 -- 15360 Kbytes Transactions address flags userthread locks beginlg curlog logposit isol retrys coord a509018 A---- a4d8018 0 0 6 0x17304c COMMIT 0 a5091e8 A---- a4d8628 0 0 0 0x0 COMMIT 0 a5093b8 A---- a4d8c38 0 0 0 0x0 COMMIT 0 a509588 A---- a4d9248 0 0 0 0x0 COMMIT 0 a509758 A---- a4d9858 0 0 0 0x0 COMMIT 0 a509928 A---S a4d9e68 1 0 0 0x0 COMMIT 0 xps_qa 6 active, 128 total, 8 maximum concurrent
You can interpret output from onstat -x as follows:
The flag codes for position 2 (transaction mode):
The flag codes for position 3 (transaction stage):
The flag code for position 4:
The flag codes for position 5 (type of transaction):
The format of a 4-byte log position is 0xPPPPPBBB, where PPPPP is the page offset in the log and BBB is the byte offset in the page. The logposit can refer to a maximum of 0x100000 (or 1048576) pages in a log file.
For example, a record on the first page of log 12, at a byte offset of 24 would have a log position of 0x18 (page 0, byte offset 18). For more information, see Determining the Position of a Logical-Log Record.
This field tells you which database server is coordinating the two-phase commit.
The last line of the onstat -x output indicates that 8 is the maximum number of concurrent transactions since you initialized the database server.
8 active, 128 total, 8 maximum concurrent