How to determine from PL/SQL which processes are running
Hi,
I would like to find out which processes are runing. Is there any way how to determine this directly from PL/SQL? I know I can run external C libraries, but if there is another way, that would be great.
Thanks for help, Dan
Rahul India wrote:
YOu might want to check these
http://www.dba-oracle.com/plsql/t_plsql_v$.htm
http://www.dba-oracle.com/t_plsql_monitoring.htm
Please DO NOT post links to commercial websites. It is a breach of the Terms of Use of the forums.
Such websites tend to provide snippits or excerpts of information in order to try and get people to purchase their products (books or whatever) or services.
There are plenty of good resources out there, including the Oracle documentation, other threads on these forums with similar questions and solutions, or expert's blogs or websites that are not trying to sell something.
Similar Messages
-
N97 gone berzerk! Which processes are running?
Weirdest thing. My 5-month-old N97 had pretty much settled into my routine and the battery was lasting most of the week. Leave charging on Sunday night and would last the week if I didn't get too eager with the GPS or camera.
Last Moday we finally got the Maps 3.4 update available OTA and Nimbuzz was offering an update as well, so I backed up with PC Suite and upgraded. By Wednesday morning, the battery was down to 2 bars, so I recharged. By Thursday, the battery was dead again! Something is running on the phone and draining it!!
So, besides holding down the silver selector button to see the apps that are running, is there any way to determine which processes are being executed? Even if it entails having to install some utility or something. I am explicitly quitting all listed applications, yet something is killing the battery."is there any way to determine which processes are being executed?"
JbTaskman, Handy taskman,
Previous Phones: 6600, 7610, 6230, 6230i, 1100, 1112, N70, N73, N95, N95 8GB, 5800XM, 5230, C5, iPhone 3GS, SE Xperia X10, N900, N8, SE Xperia Arc
Current Phones: Nokia N9, iPhone 4 -
How do i see the sql statements that are run ?
i want to see (in a log file) what are the sql statements that oracle had ran.
how do i do it ? what configurations should i do ? how ?
please help ... thanksCurrent SQL statements are viewed in dynamic tables:
SELECT SCHEMANAME, SQL_ADDRESS, SQL_TEXT, last_call_et
FROM V$SESSION, V$SQLAREA
WHERE V$SESSION.SQL_ADDRESS=V$SQLAREA.ADDRESS
A historical log of all SQL statements is recorded in Oracle Archived Logs, and can be viewed using the Oracle Logminer approach. This process requires your database to be in ARCHIVELOG mode, and that Logminer be configured to read the archived logs. -
How to find which backups are running - whether RMAN or EXPORT or EXPDP ?
I need to find using SQL which backups are running at a particular time . I want to use SQL for this.
Hi,
Check the V$session view to get it.
SELECT SID,PROGRAM FROM V$SESSIONThe program will give you the
In case of export it will give you - exp.exe under the PROGRAM
In case of expdp it will give you - expdp.exe under the PROGRAM
In case of RMAN session it will give you -
SID PROGRAM
140 exp.exe
158 expdp.exe
138 rman.exe
149 rman.exeRegards,
Vijayaraghavan K -
How to determine which processes are using a module?
I want to find out which processes are using a kernel module.
However this info is shown neither with ``lsmod'' nor in
/sys/modules/<mod_name>/.
It's needed to reload certain modules which are acting buggy,
in a bash script. Right now I just keep a list of processes which
use the module and try to kill'em all, not exactly a beautiful
solution.
To work around it I compiled a kernel with
``CONFIG_MODULE_FORCE_UNLOAD=y'', however actually
trying to unload anything with this results in an unstable system.
Suggestions?After successfully syncing the configuration database I ran the configuration compliance job once more, however with the same (misleading) results. Cross-checking the configuration reveals that none of the devices marked as compliant are actually having the "ip helper-address" configured.
Maybe it is something wrong with the input data I specified for the compliance template (ref step 1-6 in my first post)?
Or maybe the Compliance Jobs arent the best ways to determine whether or not my devices are having the "ip helper-address" configuration defined? -
How can I determine which jobs are running on NT?
Hello,
How do I determine which processes are in execution on an NT box from a JAVA
application? I figure it must involve runtime exec'ing some run32dll
program, but which one?
TIASearch microsoft.com, or MSDN. That isn't anything to do with Java Programming.
-
Re: How to converting from PL/SQL query to T-SQL query
How to converting from PL/SQL query to T-SQL query... Its Urgent
Download the
SQL Server Migration Assistant for Oracle. It will convert whole Oracle databases, or single queries or PL/SQL stored procedures.
With caution that If your database is using Collation which is case sensitive SSMA will not work.SSMA doesnt guarantees 100% for conversion of Queries/stored proc /database if it fails to do so for some queries you will have to do it manually.
But you can try
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Any good way to find out which process is running on which CPU, how long it
Hi All
any good way to find out which process is running on which CPU, how long it took, how many threads it has forked, which thread went to which CPU, etc. .
RPS
Message was edited by:
RajeshPSHi All
any good way to find out which process is running on
which CPU, how long it took, how many threads it has
forked, which thread went to which CPU, etc. .Because the scheduler moves threads from CPU to CPU all the time, that would be a lot of information to store. I don't know any easy way to gather it.
Under Solaris 10, you could write a dtrace script that noted every time one of the processes thread was enqueued or dequeued on a cpu and post-process that.
That's probably the best way.
Darren -
How do I determine what processes are running?
I'd like to determine what processes are running on my iMac running Mtn Lion. Is there an analog to Windows Task Manager?
Open the Activity Monitor in the /Applications/Utilities/ folder.
(76553) -
How do I find out which query are running??
My client is connecting to the database and running application through the web. From the Unix system, I know his job took 99% of CPU time and running for 1 hour already. Is there anyway I can find out which query are running in the Oracle?? So I can tune this query?? thanks..
Hi,
You can use the following query to identify it.
set linesize 100
set pagesize 100
SELECT substr(sql_text,1,40) sql,executions, rows_processed,
rows_processed/executions "Rows/Exec",
hash_value,address
FROM V$SQLAREA WHERE executions > 100 AND rownum <= 10
ORDER BY executions DESC;
Rgds,
Dhana -
How to use dvb to find which blocks are corrupted?
hi
how to use dvb to find which blocks are corrupted?
and how to repair it from two days back user managed back up when database is in no archive log mode?
rgrds
Edited by: new2appsdba on Jul 30, 2010 9:50 PMHi,
Please see these documents.
Note: 434013.1 - HOW TO TROUBLESHOOT AND RESOLVE an ORA-1110
Note: 352907.1 - Script To Run DBV On All Datafiles Of the Database
Note: 836658.1 - Identify the corruption extension using RMAN/DBV/ANALYZE etc
Note: 35512.1 - DBVERIFY - Database file Verification Utility (7.3.2 - 10.2)
Note: 403747.1 - FAQ: Physical Corruption
Note: 28814.1 - Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g/11g
Thanks,
Hussein -
Which processes are happened during App server starting?
Hi..
I think that the S1AS 7.0 starts more slowly than the early version. So I want to know which processes are happened during App server instance and Administrative server starting.
Please let me know the detail description about that.
Thank you.Hi..
I think that the S1AS 7.0 starts more slowly than the early version. So I want to know which processes are happened during App server instance and Administrative server starting.
Please let me know the detail description about that.
Thank you. -
Hi, We are running domino application in windows server 2008r2 standard virtual machine, we are facing High RAM utilization issue, but there is no such process are running. Machine is running in ESXI host, most of the time it shows high RAM utilization.
We upgraded the ram from 6 to 8 GB, but still facing the issue,
Where as other VMs working fine.
Need a help to find out the issue.Hi Sathish sampath,
You can use Resource monitor and Task Manager->Performance to monitor the RAM memory utilization, I also recommend you to download the
RAMMap to get more detailed memory information.
For more detailed information to troubleshoot this issue, please also refer to this thread:
memory performance problem. Please help.
You can also choose to post your monitor picture to help us to troubleshoot.
I holp this helps. -
How does one tell if the J2EE services are running with Unlimited
How does one tell if the J2EE services are running with Unlimited
security? We have applied the export Policy to the server but we do notsee any reference to it running with it. .we apply the Service packs SAP now upgrades that JAVA as well . Do that process treat the JAVA
lib/security area correctly.Just out of curiosity... Is there something you do
like about Mac/Apple?
To answer your question: no, not really. However, the points that I made here were about Safari and accompanying utilities, not about Apple in general.
If it makes you feel any better, I am just as, or even more, critical of Micro$oft as the occasions arise...Windoze Vista is the most recent occasion and has given sufficient reasons and opportunities to vent my spleen that I actually have eased up on Apple, politicians, nut-case religious extremists, cell phone owners, and the Department of Homeland Paranioa, etc., due to an exhaustion of creative energy. -
I'm running Mac OS X version 10.6.8 How come I get this error message "You are running an operating system that Photoshop no longer supports. Refer to the system requirements for a full list of supported platforms." When I Try to download a FREE trail?
Hi Brizill,
Please refer to the help document below to understand the technical specifications for the same:
System requirements | Photoshop
Regards,
Sheena
Maybe you are looking for
-
HI Guru's I am Activating Busines Content in Grouping-->In Data Flow Before, I am getting following errors below Error -1:- Extract structure /BI0/ARF_DS0100 is not active /BI0/ARF_DS0100: Only tables and views are permitted for extraction The extrac
-
Unable to set up wireless printer HP OJ 4680 error OS Windows XP not supported
Trying ro set up my printer for wireles and it is stating my Windows XP OS is not support. Just noticed the Starter CD is for Windows 7. Anyone know what I can do to fix?
-
[CS5][JSX] How to place a video from an URL
Hey everyone, I found some great help in this forum in the past, so I hope someone can help me again this time. I'm using Indesign CS5 on a mac. I write in Javascript. What i try to do is dynamically placing a video from a URL. I thought I could do t
-
EPM 11.1.2.x deployment to single managed server
Hi Gurus, I have 2 questions: 1) If we install some applications on single port number:9000(deploy to single managed server), after that if we deploy some applications to individual ports. is this installation work? 2) for example we have installed a
-
My MacBookAir is one year. I want to upgrade IMovie, IPhoto, Garageband and ITues, But What are the prices for these upgrades. How do I get around?