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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).