Monitor session resources with onstat -g ses output
Use the onstat -g ses command to monitor the resources allocated for and used by a session, in particular, a session that is running a decision-support query. The onstat -g ses command also shows information on recently terminated sessions.
For example, in onstat -g ses output, session number
49 is running five threads for a decision-support query.