Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: how do I calculate the Oracle's usage

Re: how do I calculate the Oracle's usage

From: Gurelei <gurelei_at_yahoo.com>
Date: Mon, 25 Nov 2002 11:12:28 -0800
Message-ID: <F001.0050B230.20021125111228@fatcity.com>


Wouldn't this only give me the statistics for MY current session? I'm looking for the data on all the running sessions.

Gene
--- Jeremiah Wilton <jwilton_at_speakeasy.net> wrote:
> How about you collect the following value from each
> instance on the
> host, wait a few hours, then collect the numbers
> again? You can then
> subtract the earlier values from the later values,
> and you'll have a
> good idea which instances are using more CPU
> relative to the others.
>
> SQL> select value from v$sysstat where name = 'CPU
> used by this session';
>
> --
> Jeremiah Wilton
> http://www.speakeasy.net/~jwilton
>
> On Mon, 25 Nov 2002, Gurelei wrote:
>
> > I'm trying to figure out how much of the srever's
> resources
> > (CPU-wise) a database and the application running
> against it is
> > taking. There are several databases on that server
> and I'm only
> > interested in one so vmstat won't really help that
> much. Besides
> > just running ps -ef | grep INSTANCE is there any
> other way for me to
> > get a feeling of the load that puts on the CPU my
> database?
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Jeremiah Wilton
> INET: jwilton_at_speakeasy.net
>
> Fat City Network Services -- 858-538-5051
> http://www.fatcity.com
> San Diego, California -- Mailing list and web
> hosting services
>



> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).
>


Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gurelei
  INET: gurelei_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Nov 25 2002 - 13:12:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US