ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 数据库会话连接情况监控脚本

数据库会话连接情况监控脚本

原创 Linux操作系统 作者:qgrape 时间:2008-08-25 21:57:49 0 删除 编辑

spool e:\qin_daily\会话连接情况监控_script006

--数据库会话连接情况监控

set wrap off
set linesize 1000

col sid for 999
col serial# for 9999999
col username for a8
col program for a40
col machine for a30
col status for a20

select sid, Serial#, Username,program,machine,status
from v$session
order by USERNAME, STATUS;

spool off

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12330444/viewspace-434593/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-04-09

  • 博文量
    223
  • 访问量
    560981