&lt;?xml version="1.0" encoding="utf-8"?>
        <sphinx:docset>
            <sphinx:schema>
              <sphinx:field name="title"/>
              <sphinx:attr name="title" type="string"/>
              <sphinx:attr name="link" type="string"/>
              <sphinx:field name="content"/>
              <sphinx:attr name="content" type="string"/>
              <sphinx:attr name="pubDate" type="timestamp"/>
              
            </sphinx:schema>
            
            <sphinx:document id="1080 ">
              <title>&lt;![CDATA[Oracle Select the top 5 queries]]></title>
              <link>&lt;![CDATA[/2012/02/27/oracle-select-top-5-queries/]]></link>
              <pubDate>1330322659</pubDate>
              <content>&lt;![CDATA[Here are one sql script that I found some time back. This will be listing the top 5 SQL queries in Oracle.
SET linesize 300SET PAGESIZE 200select *from(select sql_text,sql_id,elapsed_time,cpu_time,user_io_wait_timefrom sys.v_$sqlareaorder by 5 desc)where rownum &amp;lt; 6;quit; Related articles SQL Fiddle (thinkvitamin.com) New Oracle E-Book (arnoldit.com) All about Security &amp;#8211; SQL Injection (tkyte.blogspot.com) ]]></content>
             </sphinx:document>
            
            <sphinx:document id="1081 ">
              <title>&lt;![CDATA[Benchmarking the system/CPU performance]]></title>
              <link>&lt;![CDATA[/2012/01/15/benchmarking-system-cpu-performance/]]></link>
              <pubDate>1326614204</pubDate>
              <content>&lt;![CDATA[Have you ever wanted to have a quick check on your CPU performance. I know that lot of people will say that this is not the right way to do this, but here is something that you can use to check the CPU speed.
#!/bin/bash -#===============================================================================## FILE: benchmark.sh## USAGE: ./benchmark.sh## DESCRIPTION: Benchmark the CPU## OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com# COMPANY: Roamware India Pvt Ltd# CREATED: 09/21/2011 11:46:03 AM IST# Last modified: Wed Sep 21, 2011 12:22PM# REVISION: ---#===============================================================================add (){COUNTER=0exec 2&amp;gt;&amp;1time=$(exec 2&amp;gt;&amp;1;(time while [[ $COUNTER -lt 100000 ]]; do ((COUNTER&#43;&#43;)) \; done))echo &#34;Time for 100000 additions is &#34;$time}	# ---------- end of function add ----------mul (){COUNTER=0test=2exec 2&amp;gt;&amp;1time=$(exec 2&amp;gt;&amp;1;(time while [[ $COUNTER -lt 100000 ]]; do ((COUNTER&#43;&#43;)) \; ((test=test*2));done))echo &#34;Time for 100000 mul is &#34;$time}	# ---------- end of function add ----------div (){COUNTER=0test=1000000000000exec 2&amp;gt;&amp;1time=$(exec 2&amp;gt;&amp;1;(time while [[ $COUNTER -lt 100000 ]]; do ((COUNTER&#43;&#43;)) \; (( test=test/2)); done)|tr -d &#39;\n&#39;)echo &#34;Time for 100000 divisions is &#34;${time}}	# ---------- end of function add ----------time addtime multime div And here is the output :
Time for 100000 additions is real 0m1.166s user 0m1.089s sys 0m0.074s
real 0m1.168s
user 0m1.089s
sys 0m0.074s
Time for 100000 mul is real 0m1.862s user 0m1.778s sys 0m0.082s
real 0m1.863s
user 0m1.779s
sys 0m0.082s
Time for 100000 divisions is real 0m1.916s user 0m1.825s sys 0m0.089s
real 0m1.918s
user 0m1.825s
sys 0m0.090s
Related articles Blogging from N900 (amit-agarwal.co.in) Check SQL Server CPU status (glindba.wordpress.com) Some Backup Exec 2010 R2 questions (edugeek.net) ]]></content>
             </sphinx:document>
            
          
        </sphinx:docset>
