Find out current running application

I am using Oracle 8i running on NT.
The V$session view shows a lot of information about the current oracle but not the current application unless the application is running from the local PC. Most of our apps are on another server. Is there any way to see this application name?

Hi,
Following query gives application , osuser,database user , terminal for the perticular database.
select a.sid,spid,status,substr(a.program,1,10) prog,
a.terminal,a.username,osuser,value/60/100 value
from v$session a,v$process b,v$sesstat c
where c.statistic# = 12 AND
c.sid = a.sid AND
a.paddr = b.addr
order by value desc
Prashant Pathak

Similar Messages

  • How we can find out the running window application ?

    hi all,
    how can i find out the running windows application through my java program?
    if anyone know any methods or classes please inform me soon...........
    one way to ask is "how one can trap the running window's application through java code"?
    Please do inform, if you have any valuable guidelines to achieve this
    Thanks in advance

    I pretty sure this isn't possible. You could write something which uses JNI to call native methods, but you'd have to have methods avaliable to call. So suppose you wanted a process on a Windows machine to read the text in an instance of IE's address text box you'd first need a way to do this with Windows specific code. And I can't think how you'd do that - unless you are directly interacting with the OS. So I'm afraid there is no easy way to do this in Java, and even the very difficult way with JNI may not even be possible.

  • 2d Direct draw, and how to find out if the application is a java apps

    I am running a banner application that was written in java. And in some instances, we are seeing the banner flicker every 5 seconds or 10 seconds. The banner application is written by some other government branch and on their documentation they say that the flickering is due to java's 2D directdraw used by some other java application (not their banner application). I personally haven't seen this on our test VMs but it is being seen on some physical workstation at the client site.
    I am trying to find out the application that is using java's 2D directdraw in our environment. Some of the question I have is
    1) Is there anyway to find out what application is using java 2D directdraw? ( I know how to disabled it globally for java but don't want to do that, I would rather just disable it for one application than disabling it on all java application)
    2) Is there anyway to find out what applications are depended in JVM on a machine? So that I can narrow the list of application to test.
    3) Is there anyway to find out if a application is written in java. Our environments have a lot of applications installed on them and I'm not sure which one use JVM and which one don't. If there is a way to know that then I can narrow down my issue and try to solve it.
    Thank you for your help, I really appreciate it,
    Sudeep.

    Hi,
    if the database is running, start a sqlplus session. You will see in the banner something like '64Bit Production' (for 64-bit) or only 'Production' for 32-bit. Alternatively, especially if the database is not running, go to $ORACLE_HOME/bin and type 'file oracle'. The returning strings shows either 32-bit or 64-bit.
    Best regards
    Werner

  • How to get the trace file name for current running application?

    Hi, I want to know if it is possible to get the file name directly for current running application instance which is launched by javaws.
    There is a property "deployment.user.logdir" tells the log directory, it would be great if a file name property
    is available. something like "instance.trace.file".
    Our application wants it because we would like our client send use the application log by clicking a "send error"
    button, the codes finds the trace file and compress it and send it by using a smtp server.
    In 1.5, we can do it by using a shell program.

    I found other asked it before, but I tried to set both properties, but neither works. my sun JRE version :java version "1.6.0_04"
    <property
    name="deployment.javaws.traceFileName"
    value="abcfefsfdsf"/>
    <property
    name="deployment.javapi.trace.filename"
    value="235235235"/>
    But it always write to one trace file with name lik javaws63645.trace

  • When using tethered capture I often get this notification "The metadata for this photo has been changed by both Lightroom and another application". This slows or stalls the loading of incoming photos. How do I find out which other application is changing

    When using tethered capture I often get this notification "The metadata for this photo has been changed by both Lightroom and another application". This slows or stalls the loading of incoming photos. How do I find out which other application is changing the metadata and stop it?

    Thanks Sean,
    I've had a look at the TC settings dialog and tried to keep it as simple as possible. I also had a copy of LR 4 on the hard drive so have trashed that also incase of any conflicts. LR seems to be running ok now but as said it's an intermittent problem.
    I also have a copy of Capture One on the hard drive so am going to uninstall that also in case it is trying to launch.

  • How can find out long run quries?

    Hi,
    I have some question
    how can find out long run queries , i have use v$session but i have not find out,pls how can find out
    these queries.

    v$session_longops has some limitations, for example it records only some operations see more [url http://www.gplivna.eu/papers/v$session_longops.htm]here
    Another possibility might be using statspack and/or [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#PFGRF02601]AWR
    From docs:
    The most current instructions and information on installing and using the Statspack package are contained in the spdoc.txt file installed with your database. Refer to that file for Statspack information. On Unix systems, the file is located in the ORACLE_HOME/rdbms/admin directory. On Windows systems, the file is located in the ORACLE_HOME\rdbms\admin directory.
    Gints Plivna
    http://www.gplivna.eu

  • Find out whether our application caused the memory leak

    whether have the command to find out whether our application caused the memory leak !
    We are using Jdev10g + BC4J + Struts + JSP to build our enterprise application,
    but when the application running some days in our Application Server(RedHat AS3-86, with 4GB RAM), the memory consumed is serious ! we doubt and worry
    about maybe our application suffer the memory leak problem, so we want to know have the command to find out whether our application caused the memory leak
    issue and which program is the major murderer for memory.

    The second scenario is, as we perform some deployment activity on 10g, the memory usage chart shows a sharp consumption of memory about 1.5GB .the loss memory almost be display in "other" legend chart !
    Please give us some advice , thanks in advance

  • How to find out current archtecture

    I have installed Oracle Database Express Edition 11g Release 2. APEX 4.0 has been installed automatically. (I didn't configure any servers, just clicked 'next')
    Now I have to upgrade APEX to 4.1 , but I must know, what should I configure - Oracle Application Express Listener, the Embedded PL/SQL Gateway, or Oracle HTTP Server?
    So, how to find out current archtecture of APEX 4.0 ?
    Thank you,
    Kseniya.

    Kseniya wrote:
    I have installed Oracle Database Express Edition 11g Release 2. APEX 4.0 has been installed automatically. (I didn't configure any servers, just clicked 'next')In that case, it should be Embedded PL/SQL Gateway. Is there a port number in the URL? What is it?

  • How to find the current running jobs.

    Hi All,
    Can u please tell me how can i find the current running jobs in oracle.
    OS : windows
    DB VERSION: 10.2.0.1
    Thanks,
    srini...

    Don't think so..
    For the running jobs ( the ones in flight right now..)
    if you used the scheduler
    select owner , job_name , running_instance, session_id from all_scheduler_running_jobs
    order by owner , job_name
    If you used dbms_job ( you really should the scheduler ...)
    select job, instance, sid from dba_jobs_running
    order by instance, job
    /

  • Can any one let me know how to  find out current internet explorer version

    Can any one let me know how to find out current internet explorer version

    Don;t use annoyed repeated words. Try to explain exactly what is your problem.
    <script LANGUAGE="JavaScript">
    document.write("Your browser Name: <B>" + navigator.appName + "</B>.<br>")
    //Detect IE Version Only
    if (navigator.appVersion.indexOf("MSIE")!=-1){
    var temp=navigator.appVersion.split("MSIE")
    var version=parseFloat(temp[1])
    document.write(" Your Browser version: <B>" + version + "</B>.")
    </script>

  • How to find out if running 64 bit jvm

    Hi all,
    I have an application which can be run using 64 bit JNI libraries, or 32 bit libraries depending on the command line parameters. I want to know if there is any way for me to find out if the JVM is running in 64 bit mode (the -d64 parameter was sent to it) or 32 bit mode. If I could find out the command line parameters sent to the JVM it would be as useful.
    Thanks in advance for your help.

    D'oh answered my own question about 5 mins after posting :) If anyone is interested there is, starting in jdk1.4, a property called sun.arch.data.model which will be "64" for a when -d64 is used as a command line argument. This property has 3 states, "64", "32" and "unknown" I don't know on what occasion "unknown" will be used

  • How to find the currently running packages using SSISDB

    Hi,
        I have developed a solution and deployed into the server. So, its under "Integration Services Catalog". I have created SQL server Agent job also to execute it.
    Now, If anyone executes a package using SQL server Agent job or directly from the catalog, is it possible for me to see which package is running currently, using Management Studio?  Is there any inbuilt stored procedure or Table or Function in SSISDB
    to find out which package is running currently?
    In SSISDB, there is a view called calalog.executions - Will that work? The description says, it displays the instances of package execution
    in the Integration Services catalog. But I am not finding anything. Am I doing anything wrong?
    We can right click the package and Go for 'Reports' --> Standard Reports - which is not permitted in my project. I would like to see using Management studio - SSISDB.
    Please help me to find out.
    Thanks in advance!!

    Hi,
    Below query will give you the load details like insertion happening to which table and if you know which table is used in which ETL you can determin what ETL is running. 
    SELECT 
    T.TEXT, 
    R.STATUS, 
    R.COMMAND, 
    DATABASENAME = DB_NAME(R.DATABASE_ID),
    R.START_TIME,
    ESTIMATED_COMPLETION_TIME_In_Hours=(R.ESTIMATED_COMPLETION_TIME/1000)/(60*60),
    CPU_TIME_In_Minutes=(R.CPU_TIME/1000)/(60), 
    TOTAL_ELAPSED_TIME_In_Minutes=(R.TOTAL_ELAPSED_TIME/1000)/(60), 
    R.PERCENT_COMPLETE
    FROM SYS.DM_EXEC_REQUESTS R
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(R.SQL_HANDLE) T
    WHERE T.TEXT NOT LIKE 
    'SELECT 
    T.TEXT, 
    R.STATUS, 
    R.COMMAND,%'
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • Monitor database job-find out current statement and bind values

    Hi all,
    we have a job running on one of our databases which sometimes runs for a very long time.
    Sometimes it it is necessary to kill that job because it is blocking normal work.
    Therefore it is important to find out the current statements the job is processing in order to avoid too much trouble after killing.
    Job processing is a chain of several procedures that insert, update, delete from different tables dependant on initital user input.
    Database is 10203 on solaris 10. Job was created with dbms_job (no em job).
    Is there any way to find out the job's current statement and relevant bind values?
    FJH

    http://www.orafaq.com/wiki/SQL_Trace

  • How to find out with my application is using any timezone dependable data

    hi guys,
    i am going through the notes: Updating the RDBMS DST version in 11g R2 ID 977512.1
    Bum into this part where it mention:
    Oracle cannot say to what DST version you need to use, this simply depends on if you are using DST information or not in SQL
    Please advice what are the ways to find out if application(s) connected to my database is using named timezones.

    I believe the MOS Doc linked in the sentence immediately after the one you quoted above should help
    HTH
    Srini

  • Find out queries running in Database at somepoint of time

    Hi All,
    We have oracle 10g database running on solaris platform.Actually CPU utilization at specific point of time is very high.So I want to know all sql's running in Database at specific point of time.
    Could you please help me out with the query to find out all sql's running at some point of time in database?
    Thanks a lot

    pgoel wrote:
    Run AWR as below: I assume you (and the other 2 posters with the same advice) are prepared to indemnify the OP if they haven't paid the extra to take your advice. See Maurice's questions earlier.
    AWR is an excellent tool, but isn't available for a large number of customers. statspack would be an appropriate choice in that case.
    Niall

Maybe you are looking for

  • MM Closing Period(Urgent)

    Dear Experts, In our development server,By mistake we have closed periods till november.We want to open and try to run in the current period,how to do that??? Plz do reply me... Thanks and Regards MK

  • Error message: There was an error processing a page. There was a problem reading this document (110)

    I opened a pdf document in Adobe Reader X. When I attempted to scroll through the pages the following error message appeared, "There was an error processing a page. There was a problem reading the document (110). After an Internet search to try to fi

  • Twist won't recognize external microphone

    This is a new problem. I do have an adapter and it has been working fine until a couple weeks ago. Even when I plut the external mic in now, the laptop continues to take its input through the built-in microphone. I really need to use the external cap

  • Trouble with 10g client

    Hey Folks Client Side: 10.2.0.1 Windows 2k Server Side: Several HPUX 11.23 10.2.0.2 or 9.2.0.6.0 When I try to connect with the 10g client (or sqlplus) to 9i or 10g there are several errors: If the login and password is correct: ORA-00604: error occu

  • New (used) machine set-up using Migration Assistant

    I have just purchased a mint G4 Powerbook 15" I need to set up to replace the existing one, which got its lids bent and seams cracked open from a fall onto the floor -- it is working fine for now but I am treating an implosion as inevitable. I have d