session(s) taking the most cpu ressources
Summary
John Smith asked how to find sessions using the most CPU. Vladimir Kolobrodov suggested onstat -g top on current servers, and onstat -g cpu or filtering onstat -g ath output on older ones. Mike Walker supplied a sysmaster query joining syssessions, systcblst and sysrstcb ordered by cpu_time. John thanked them; solved.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.