利用Oracle数据库存储和分析Unix操作系统的性能[28]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 kamus 的 blog

column c2      heading waitq   format 9999
column c3      heading pg_in  format
9999
column c4      heading pg_ot  format
9999
column c5      heading usr    format
9999
column c6      heading sys    format
9999
column c7      heading idl    format
9999
column c8      heading wt     format
9999

ttitle
'run queue > cpus|may indicate an overloaded cpu|when runqueue exceeds the number of cpus| on the server, tasks are waiting for service.';

select
 server_name,
 to_char(start_date,
'yy/mm/dd    hh24') my_date,
 avg(running_queue)     c2,
 avg(kbytes_page_in)    c3,
 avg(kbytes_page_out)    c4,
 avg(user_cpu)           c5,
 avg(system_cpu)         c6,
 avg(idle_cpu)           c7
from
perfstat.stats$vmstat
where
running_queue > 4
and start_date > sysdate-&1
group by
 server_name,

本文关键:利用Oracle数据库存储和分析Unix操作系统的性能
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top