摘要:
1.查看全部session中SQL/* Formatted on 2013/8/5 10:01:05 (QP5 v5.114.809.3010) */spool /home/oracle/oracle_realtime_sqllist.txtSET LINESIZE 100SET PAGESIZE 50000COL USERNAME FOR A10COL machine FOR A15COL sql_text FOR A50 SELECT SUBSTR (s.username, 1, 18) username, s.sid, s.serial#, s.machine, y.sql_text F 阅读全文