处理过程:
1、onstat -g ath|grep runn|grep sqlexec
可以看到确实有很多很多线程都是RUNNING状态
2、onstat -g ath|grep runn|grep sqlexec|awk '{print "onstat -u|grep "$3}'|sh|awk '{print "onstat -g ses "$3}'|sh >> a.log
可以获取到所有线程的当时运行的会话的SQL语句
3、cat a.log |grep -A 15 "Current SQL statement"
过滤a.log中当前允许的SQL语句
4、onstat -g ath|grep runn|grep sqlexec|awk '{print "onstat -u|grep "$3}'|sh|awk '{print "onmode -z "$3}'|sh
杀掉即可