Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: CPU Pegged at 100%
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"
v$process p, v$bgprocess b, v$session s
> 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
![]() |
![]() |