logo

您所在位置网站首页 > 海量文档  > 计算机 > linux/Unix相关

UNIX LINUX ORACLE系统性能监控命令超级大全.doc 10页

本文档一共被下载: ,您可全文免费在线阅读后下载本文档。

  • 支付并下载
  • 收藏该文档
  • 百度一下本文档
  • 修改文档简介
全屏预览

下载提示

1.本站不保证该用户上传的文档完整性,不预览、不比对内容而直接下载产生的反悔问题本站不予受理。
2.该文档所得收入(下载+内容+预览三)归上传者、原创者。
3.登录后可充值,立即自动返金币,充值渠道很便利
IT 系统管理参考命令手册 1、 系统性能采集部分 1.1 AIX性能采集 1.2 Linix性能采集 1.5 Tru64性能采集 1.6 solaris性能采集 1.7 windows wmi性能采集 1.8 oracle8,oracle9i性能采集 SELECT "SID","CPU","memory_pga","phyrds","logical_reads","parse_count","status", k.sid NVL("user_name",'NULL',"os_user","spid","machine","program",k.resource_consume r_group, nvl("SQL",'NULL' FROM (select s.sid , s.status "status", s.username "user_name", RTRIM(s.osuser "os_user",b.spid "spid",s.machine "machine", s.program "program" ,'NULL' resource_consumer_group from sys.v_$session s, sys.v_$process b where s.paddr=b.addr group by s.sid, s.status, s.username, s.osuser, b.spid, s.machine, s.program k, (select st.sid ,SUM(DECODE(sn.name,'CPU used by this session',value "CPU", SUM(DECODE(sn.name,'session pga memory',value "memory_pga", SUM(DECODE(sn.name,'physical reads',value "phyrds", SUM(DECODE(sn.name,'session logical reads',value "logical_reads" , SUM(DECODE(sn.name,'parse count (hard',value "parse_count" from sys.v_$sesstat st,sys.v_$statname sn WHERE st.statistic#=sn.statistic# and sn.name IN('CPU used by this session', 'session pga memory', 'physical reads','session logical reads', 'parse count (hard' GROUP BY sid p, (SELECT DISTINCT A.sid,B.sql_text SQL FROM V$SESSION A,V$SQLAREA B 会话 WHERE A.SQL_HASH_VALUE=B.HASH_VALUE un WHERE k.sid = p.sid AND k.sid = un.sid(+ 1.9 oracle7 性能采集 项目 命令 中文说明 英文缩写 备注 SELECT (f.bytes/1024/1024 "remain_size",(f.max_block/1024/1024 "max_free_block",d.status "status", d.tablespace_name "tablespace_name", d.contents "contents", 'DICTIONARY' "extent_management", TO_CHAR(NVL(a.bytes / 1024 / 1024, 0,'99,999,990.900' "space_size(M", TO_CHAR(NVL(a.bytes - NVL(f.bytes, 0, 0/1024/1024,999' "used_size(M", TO_CHAR(NVL((a.bytes - NVL(f.bytes, 0 / a.bytes * 100, 0, '990.00' "used_rate%",'LOGGING' "logging", 表空间 (NVL(d.initial_extent,0 / 1024 "init_extent(M", (NVL(d.next_extent,0 / 1024 "next_extent", NVL(d.min_extents,0 "min_extents", NVL(d.max_extents,0 "max_extents", NVL(d.pct_increase,0 "pc

发表评论

请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码: 点击我更换图片

“原创力文档”前称为“文档投稿赚钱网”,本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有【成交的100%(原创)】。原创力文档是网络服务平台方,若您的权利被侵害,侵权客服QQ:3005833200 电话:19940600175 欢迎举报,上传者QQ群:784321556