Monitoring PDQ threads with onstat utility commands
You can obtain information about all of the threads that
are running for a decision-support query by running the onstat
-u and onstat -g ath commands.
The onstat -u option lists all the threads for a session.
If a session is running a decision-support query, the output lists
the primary thread and any additional threads. For example, session 10 in onstat
-u output has a total of five
threads running.
The onstat -g ath output also lists these threads and includes
a name column that indicates the role of the thread. Threads
that a primary decision-support thread started have a name that indicates
their role in the decision-support query. For example, onstat
-g ath Output lists four scan threads,
started by a primary thread (sqlexec).