Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how do I calculate the Oracle's usage
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:Received on Mon Nov 25 2002 - 09:44:36 CST
> 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).