使用 onstat -g ses 命令可以监视分配给会话并由其使用的资源,特别是正在运行决策支持查询的会话。
图: onstat -g ses 输出
session #RSAM total used id user tty pid hostname threads memory memory 57 gbasedbt - 0 - 0 8192 5908 56 user_3 ttyp3 2318 host_10 1 65536 62404 55 user_3 ttyp3 2316 host_10 1 65536 62416 54 user_3 ttyp3 2320 host_10 1 65536 62416 53 user_3 ttyp3 2317 host_10 1 65536 62416 52 user_3 ttyp3 2319 host_10 1 65536 62416 51 user_3 ttyp3 2321 host_10 1 65536 62416 49 user_1 ttyp2 2308 host_10 5 188416 178936 2 gbasedbt - 0 - 0 8192 6780 1 gbasedbt - 0 - 0 8192 4796