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: CPU Pegged at 100%

Re: CPU Pegged at 100%

From: Yechiel Adar <adaryechiel_at_hotmail.com>
Date: Wed, 01 May 2002 03:08:22 -0800
Message-ID: <F001.00454AFC.20020501030822@fatcity.com>


Hello Igor

Thank you for the info.

I got the following script from one of the articals that Thomas Day point to in the message
With subject Oracle & windows.
It shows the threads that oracle is using. The first column has a call to some function that probably did some formating but I deleted it.

create or replace view
NT_threads
as
select

p.spid "ID_THREAD",
p.background "BACKGROUND",
b.name "NAME",
s.sid "SID",
s.serial# "SERIAL#",
s.username "USERNAME",
s.status "STATUS",
s.osuser "OSUSER",
s.program "PROGRAM"

from
v$process p,
v$bgprocess b,
v$session s

where
s.paddr = p.addr
and
b.paddr(+) = p.addr;

> You can see process threads in NT Performance Monitor.
>
> Igor Neyman, OCP DBA
> ineyman_at_perceptron.com
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Yechiel Adar
  INET: adaryechiel_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Wed May 01 2002 - 06:08:22 CDT

Original text of this message

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