onstat - u:(查看online用戶的使用情況)
user threads
address flags sessid user tty wait tout locks nreads nwrites
c57f1018 ---P--D 1 informix - 0 0 0 757 36481
c57f1504 ---P--F 0 informix - 0 0 0 0 377273
c57f19f0 Y--P--- 5 informix - 0 0 0 0 6742
c57f1edc ---P--B 6 informix - 0 0 0 29 257
其中:flages字段的含义:
第一列:(S:等待mutex;Y:等待条件;L:等待锁;B:等待缓冲区;;G:等待长缓冲写
C:等待检查点;X:长事务清理;T:等待事务)
第二列:(*:事务执行时,发生I/O错误)
第三列:(A:正在备份;B:操作已被记录在日志中;P:分布处理已准备好;
C:正在提交;R:正在回滚)
第四列:(P:会话的主线索)
第五列:(R:在read rsam 调用中;X:进程在关键分区)
第七列:(M:特殊监控;D:特殊线索;C:清理线索;F:特殊清页进程;
B:特殊B+树清页线索)