使用 onstat-g rea 命令监视虚拟处理器

使用 onstat-g rea 命令监视就绪队列中的线程数。

onstat-g rea 显示此信息:

如果在就绪的队列中虚拟处理器类(例如,CPU 类)的线程数增加,那么可能需要将更多此类虚拟处理器添加到您的配置中。

图: onstat-g rea 输出

Ready threads:
tid     tcb     rstcb   prty    status                  vp-class   name

6       536a38  406464  4       ready                     3cpu    main_loop()
28      60cfe8  40a124  4       ready                     1cpu    onmode_mon
33      672a20  409dc4  2       ready                     3cpu    sqlexec