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,