
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CHizSTudio &#187; usage</title>
	<atom:link href="http://www.chizstudio.com/tags/usage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chizstudio.com</link>
	<description>Lazy Trend Hunter&#039;s Digital life - Make your happy digital life</description>
	<lastBuildDate>Fri, 23 Apr 2010 03:32:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>tacking oracle cpu usage</title>
		<link>http://www.chizstudio.com/tacking-oracle-cpu-usage/</link>
		<comments>http://www.chizstudio.com/tacking-oracle-cpu-usage/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 05:21:07 +0000</pubDate>
		<dc:creator>sayo</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[usage]]></category>

		<guid isPermaLink="false">http://www.chizstudio.com/?p=99</guid>
		<description><![CDATA[

select s.username &#34;Oracle User&#34;,s.osuser &#34;OS User&#34;,i.consistent_gets &#34;Consistent Gets&#34;,
i.physical_reads &#34;Physical Reads&#34;,s.status &#34;Status&#34;,s.sid &#34;SID&#34;,s.serial# &#34;Serial#&#34;,
s.machine &#34;Machine&#34;,s.program &#34;Program&#34;,to_char(logon_time, &#039;DD/MM/YYYY HH24:MI:SS&#039;) &#34;Logon Time&#34;,
w.seconds_in_wait &#34;Idle Time&#34;, P.SPID &#34;PROC&#34;,
name &#34;Stat CPU&#34;, value
from v$session s, v$sess_io i, v$session_wait w, V$PROCESS P, v$statname n, v$sesstat t
where s.sid = i.sid
and s.sid = w.sid (+)
and &#039;SQL*Net message from client&#039; = w.event(+)
and s.osuser is not null
and [...]]]></description>
			<content:encoded><![CDATA[<pre class="brush: sql; ">

select s.username &quot;Oracle User&quot;,s.osuser &quot;OS User&quot;,i.consistent_gets &quot;Consistent Gets&quot;,
i.physical_reads &quot;Physical Reads&quot;,s.status &quot;Status&quot;,s.sid &quot;SID&quot;,s.serial# &quot;Serial#&quot;,
s.machine &quot;Machine&quot;,s.program &quot;Program&quot;,to_char(logon_time, &#039;DD/MM/YYYY HH24:MI:SS&#039;) &quot;Logon Time&quot;,
w.seconds_in_wait &quot;Idle Time&quot;, P.SPID &quot;PROC&quot;,
name &quot;Stat CPU&quot;, value
from v$session s, v$sess_io i, v$session_wait w, V$PROCESS P, v$statname n, v$sesstat t
where s.sid = i.sid
and s.sid = w.sid (+)
and &#039;SQL*Net message from client&#039; = w.event(+)
and s.osuser is not null
and s.username is not null
and s.paddr=p.addr
and n.statistic# = t.statistic#
and n.name like &#039;%cpu%&#039;
and t.SID = s.sid
order by 6 asc, 3 desc, 4 desc
</pre>
<p><a class="wpgallery" title="Track CPU Usage" href="http://www.oracle.com/technology/oramag/code/tips2005/112805.html" target="_blank">Track CPU Usage</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chizstudio.com/tacking-oracle-cpu-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
