Informix onstat Guide — All 133 Commands Explained
onstat reads the Informix shared-memory structures and reports the state of the engine without taking any locks. Pick a flag to see what it shows and how to read the output.
This guide documents every onstat flag, from -a and -b through the -g subcommands, field by field. Each page has example output and a table explaining every column. The page address is the flag with no punctuation, so onstat -g dri is /onstat/gdri/, and upper and lower case are different flags: -C and -c are separate commands. The output and the available fields change between Informix versions, so check the version you run before relying on a field.
Cache
onstat -b— Active Buffer Usage / All Buffersonstat -F— Page Flushers (cleaners)onstat -g cac— Cache Entriesonstat -g dic— Data dictionary cacheonstat -g dsc— Distribution cacheonstat -g prc— Stored procedure cacheonstat -g ssc— Print SQL statement occurrencesonstat -g vpcache— CPU VP memory block cache statisticsonstat -h— Buffer Hash Chain Length Histogramonstat -p— Profile statisticsonstat -X— Sharers and waiters for buffers
Entity
onstat -t— Active TBLSpaces / All TBLSpacesonstat -g buf— Buffer Pool Profile Informationonstat -g lap— Light appendsonstat -g opn— Open Partitionsonstat -g ppf— Partition profileonstat -g scn— Scan Information
ER
onstat -g cat— ER Global Catalogonstat -g cdr— ER Statisticsonstat -g cdrconfig— cdr config ER Settingsonstat -g ddr— Status of ER Log Readeronstat -g dss— Statistics for Data Sync Threadsonstat -g dtc— Statistics for the delete table cleaneronstat -g grp— ER Grouper Statisticsonstat -g nifonstat -g rcv— ER Statistics for the Receive Manageronstat -g rep— ER Schedule Manager Queueonstat -g rqm— ER Statistics for RQM Queuesonstat -g sync— ER Synchronization Statistics
HDR
onstat -g cluster— High-Availability Cluster Informationonstat -g cmsm— Connection Manager informationonstat -g dri— Data Replication Informationonstat -g ipl— Index Page Logging Statusonstat -g laq— Secondary Server Queuesonstat -g proxy— ER Global Catalogonstat -g rss— RS Secondary Server Informationonstat -g sds— SDS Server Informationonstat -g smx— Multiplexer Group Information
Memory
onstat -R— LRU Queuesonstat -g afr— Allocated Pool Fragmentsonstat -g ffr— Free Pool Fragmentsonstat -g lmm— low memory management informationonstat -g lsc— Light scansonstat -g mem— Memory Pool Statisticsonstat -g mgm— Memory grant manageronstat -g nbm— Block Map for Non-Resident Segmentsonstat -g rbm— Block Map for Resident Segmentonstat -g seg— Memory Segment Statisticsonstat -g ses— Session informationonstat -g stm— Statement Cacheonstat -g stq— queue informationonstat -g ufr— Pool usage breakdown
Network
onstat -g imc— Informix MaxConnect instancesonstat -g nsc— Net Shared Memory Statusonstat -g nsd— Net Shared Memory Dataonstat -g nss— Net Shared Memory Statusonstat -g nta— Net Dispatch Informationonstat -g ntd— Net Dispatch Informationonstat -g ntm— Network Mail Informationonstat -g ntt— Net User Thread Access Timesonstat -g ntu— Net User Thread Profile Information
Sessions
onstat -G— Global Transaction Identifiersonstat -u— User Threadsonstat -x— Transactionsonstat -g env— Show Environmentonstat -g his— SQL Trace Informationonstat -g pqs— Operators For All SQL Queriesonstat -g ses— Session informationonstat -g sql— SQL statements
Threads
onstat -g act— Active Threadsonstat -g ath— All Threadsonstat -g cpu— Runtime Statisticsonstat -g rea— Ready Threadsonstat -g sle— Sleeping Threadsonstat -g stk— Thread Stack Dumponstat -g sts— Max and current stack sizesonstat -g tpf— Thread Profilesonstat -g wai— Waiting Threadsonstat -g wst— Wait statistics
Other flags
onstat -a— All Infoonstat -c— Configuration Fileonstat -C— BTree Cleaner Requestsonstat -d— DBSpaces and Chunksonstat -D— DBSpaces and Chunksonstat -f— Dataskip Statusonstat -g all— All MT Informationonstat -g amx— All Mutexesonstat -g aqt— Data Mart and Accelerated Query Tableonstat -g arc— Archive statusonstat -g cdc— Monitors the sessions involved in change data captureonstat -g cfg— Current Values of Configuration Parametersonstat -g ckp— Checkpoint History and Configuration Recommendationsonstat -g con— Conditions with Waitersonstat -g dbc— dbScheduler and dbWorker Thread Statisticsonstat -g dis— Server Discoveryonstat -g dll— DataBladeonstat -g dmp— Dump shared memory addressonstat -g dsk— Progress of the Currently Running Compression Operationonstat -g glo— MT Global Informationonstat -g ioa— All I/O Informationonstat -g iob— Big Buffer Usage by IO VP Classonstat -g iof— Disk IO Statistics by Chunk/Fileonstat -g iog— AIO Global Informationonstat -g ioq— Disk IO Statistics by Queueonstat -g iov— Disk IO Statistics by VPonstat -g lmx— Locked Mutexesonstat -g osi— Operating System Informationonstat -g pgp— Generic Page Partition Profilesonstat -g pos— Print infos.DBSERVERNAME Fileonstat -g ppd— Partition Compression Dictionary Informationonstat -g qst— Queue statisticsonstat -g rah— Read-ahead Request Statisticsonstat -g ras— RAS Settingsonstat -g rwm— Print read and write mutexesonstat -g sch— VP Scheduler Statisticsonstat -g smb— Smart Blob Usageonstat -g spi— Spin Locks with Long Spinsonstat -g src— Patterns in shared memoryonstat -g sym— Symbol Tablesonstat -g tgp— Generic Page Thread Profilesonstat -g wmx— Mutexes with waitersonstat -H— Transactionsonstat -i— Interactive Modeonstat -j— Pload Interactive Statusonstat -k— Locks / Locks + Sameonstat -l— Loggingonstat -L— Lock Free List Distributiononstat -m— Message Logonstat -o— Output Shared Memoryonstat -P— Partition Buffer Summaryonstat -r— Repeat options every n secondsonstat -s— Latchesonstat -z— Zero Profile Counts