Code to determine which jobs are being run in the database

Hello
I'm using Oracle 9
If it is possible I would like to write an SQL statement that determines what DBMS_JOB's are stored and being run in the database.
Thanks
Doug

you can try this code:
SELECT r.sid,
       r.job,
       r.this_date,
       r.this_sec,
       SUBSTR(what,1,40) what
  FROM dba_jobs_running r,
               dba_jobs j
WHERE r.job = j.job;hope this helps.

Similar Messages

  • How to determine if reports are being run/used

    I have two Crystal report environments.  One being version 7.5 and the other is version 10.  Between them, there is a very large number of reports (1000's) that accumulated over the years. I am looking for a way to be able to tell which reports are being run and actually used. By used I mean actually being pulled from the repository.   I do not know all the specific details of the environments and not a CR expert so it is hard for me to provide too much more details.  Any help or suggestions on how to try to determine which reports are being used is greatly appreciated.

    You mention; "Crystal report environments"
    and
    "pulled from the repository"
    Question is; what is the Crystal report environment in your definition? E.g.; what is the actual product? It could be what used to be called Crystal Info (v 7), Crystal Enterprise (v. 10). Or it could be an app written by someone in your organization. Or it could be an app written by a 3rd party.
    In any case, getting answers for these products will be difficult as you're looking at products that are close to 10 years out of support (v. 10) and well over 10 years out of support (v. 7).
    - Ludek

  • How to list all the datatypes are being used in the database?

    Is there any way you can list all the oracle datatypes are being used in the database?
    Thanks,
    Chau

    Use USER_TAB_COLUMNS or DBA_TAB_COLUMNS to determing various data type but USER_TAB_COLUMNS will show you what type being used by a schema user

  • 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?
    TIA

    Search microsoft.com, or MSDN. That isn't anything to do with Java Programming.

  • SharePoint Databases - How to determine which ones are being used and which ones aren't

    I am not sure where to exactly post this question.  On the SQL Server side or on a SharePoint side.
    I am a SQL Server Database Administrator who is monitoring some SharePoint databases.  On a daily basis it seems that they are creating new databases but don't delete the databases that they are no longer using.  For example, they might be testing
    on a development server and if things aren't working properly instead of asking that the databases be deleted they just go ahead and create new databases to do what ever they need to do.  Is there a way on the SQL Server side to determine which SharePoint
    databases are being used and which ones aren't being used?  Or does one determine this information through the SharePoint Central Administration console?
    lcerni

    Hello,
    The following query gives you the databases now in use.
    SELECT
    DISTINCT d.name
    FROM
    sys.dm_tran_locks
    tl INNER
    JOIN sys.databases
    d
    ON
    tl.resource_database_id
    = d.database_id
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Determine which programs are currently running on OS

    Hi,
    Is there any way in java so that I can determine whether a particular program is currently running on the OS, or not?
    Thanks,
    Vimal

    Using the NT resource kit there is a command called 'pulist'.
    It provides less detail that 'ps' on unix.
    There is also a unix toolset available at
    http://virtunix.itribe.net/mystuff.html
    It provides a 'ps' command.

  • Scheduled process flows are not running automaticaly-OWB database clonning

    What I did:
    1.     Cloned the entire OWB repository database from live (bidb01.bh.xyz.com) server to new (green1.bh.xyz.com) server.
    ******     Source     New
    Physical Hostname     bidb01.bh.xyz.com     green1.bh.xyz.com
    DB Logical Hostname     xyzbidb      bidb-lh
    Service Name     BIPROD     BIPROD
    Listener Port     1521     1521
    Oracle Home of RDBMS     /app/oracle/home/product/10.2.0     /orabidb/oracle/product/10.2.0
    Oracle Home of OWB     /app/oracle/home/product/10.2.0/owb /orabidb/oracle/product/10.2.0/owb
    2.     Followed the Metalink Note 434272.1 (How To Update Warehouse Builder After A Database Cloning)
    Issue:
    Before doing the step-2, every time we put the new database up the normal process flows which run every day (10 AM, 1 AM , 2 AM , 2 PM, etc.) got executed on the production environment and hung the original processes that are being run on the production environment.
    After following the note 434272, scheduled process flows in production is working fine but in the new server it is not at all working.
    Could anyone please help me to fix this?
    Edited by: Padmanaban G on May 7, 2010 5:15 PM

    The issue was resolved by renaming the workflow. What is learned here is, we should not have same workflow name for two different workspace.

  • I am trying to apply for a job on line and I am receiving this message t has been determined that you are currently running a "Popup Blocker". In order to continue, please allow this site from within your "Popup Blocker" preferences. How do I fix this?

    Hello,
    I am trying to apply for a job on line and I am receiving the following message "
    t has been determined that you are currently running a "Popup Blocker". In order to continue, please allow this site from within your "Popup Blocker" preferences
    How do I correct this??
    Thanks!

    Open Safari preferences, click on the Security icon in the toolbar, uncheck the pop-up blocker option.

  • How can i determine which devices are used at the moment?

    Hi all,
    I am designing an interface with LabVIEW for uing agilent devices. My work colleagues will use this interface.  I want to determine which devices are used at the moment and if I determine used device, i will add automatically device names to interface's main vi. So all my work colleagues can see on the program which devices are used by another colleague. This devices are connected with GPIB. İ want to learn is there any function on Instrument I/O palette.
    Thanks,
    Omer
    Solved!
    Go to Solution.

    Hi Omer,
    so those devices are connected to the PC with a GPIB connection. Will your collegues run several DAQ programs at the same time?
    GPIB-devices being controlled by PC don't have a "in use"-signal. They wait for commands, execute them and send an answer. When you start to control them using two programs they may respond to both programs, mixing up settings/measurement values and so on.
    That being said: In MAX you can see all devices connected to your GPIB port. You could scan the GPIB port using VISA commands in your program. You might even try to access a certain device by it's VISA alias. I really don't know if you will get a "device nopt available" error message when that VISA alias is in use by a different program - but you might do a quick test on your own…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I determine what sites are being referenced within Central Admin Upgrade and Migration Manage Databases Upgrade Status?

    When I go to Central Admin > Upgrade and Migration  > Manage Databases Upgrade Status, I have 2 content databases which have the status:
    Database is up to date, but some sites are not completely upgraded.
    How can I determine which sites are not completely upgraded?

    Manage Databases Upgrade Status will provide you all active and offline DB details, you can get same result
    using below PowerShell cmdlet.
    Get-SPDatabase and Get-SPContentDatabase will provide all active database/Content DB in Farm which include Service application db, central admin DB.
    Get-SPDatabase | Format-Table Name, ID
    Coming back to your question, if you find that there are some site are not completely upgraded then run below command and understand the cause if issue on specific DB.
    Test-SPContentDatabase WSS_ContentDB_Name
    If you find any missing file issue in DB then resolve these issue to upgrade content database.
    (verify all customizations referenced within the content database are also installed in the web application. This cmdlet can be issued
    against a content database currently attached to the farm, or a content database that is not connected to the farm )
    Use the Upgrade-SPContentDatabase cmdlet
    to resume a failed database upgrade or begin a build-to-build database upgrade against a SharePoint content database
    Upgrade-SPContentDatabase WSS_Content
    reference:
    http://technet.microsoft.com/en-us/library/ff607813(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/ff607941(v=office.15).aspx
    If my contribution helps you, please click Mark As Answer on that post and
    Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • Recording which articles are being read

    I want to create a cloud tag of popular topics
    What i need to work out
    1. How to record which articles are being read
    2. How to display these in a tag cloud
    3. Then when a user clicks on a tag - all the articles which
    similar
    tag are displayed
    What i have done so far (how am i going?)
    Db called tags
    Tables
    tag, article title, article url, article description
    # each article has a few different tags
    e.g
    article for preventing std has the following tags
    std, sex, safe sex, HIV
    # the article itself doesnt exist in the database as i read
    this
    wasn't good for SEO. so the article itself exists on a static
    page.
    I have close to 100 medicla articles and add about 4 or 5 a
    month
    so i would love to get this working to save me time and
    effort.
    Many thanks
    Mark Holloway
    coordinator
    www.healthhokkaido.com

    Have been using this code from the pete frei tutorial - cloud
    tags -. It is working fine.
    In the case of my database, each article has 3 tags
    associated.
    So there are 3 fields as opposed to 1 from which to count the
    tags.
    How could I adjust the code to take accountfor this?
    Also I am a begineer so if you had the time to provide a
    short explanation that would also be great.
    <cfquery datasource="cart" name="tags">
    SELECT COUNT(tag) AS tagCount, tag
    FROM list
    GROUP BY tag
    </cfquery>
    <cfset tagValueArray =
    ListToArray(ValueList(tags.tagCount))>
    <cfset max = ArrayMax(tagValueArray)>
    <cfset min = ArrayMin(tagValueArray)>
    <cfset diff = max - min>
    <cfset distribution = diff / 3>
    <style type="text/css">
    <!--
    .smallestTag { font-size: xx-small; }
    .smallTag { font-size: small; }
    .mediumTag { font-size: medium; }
    .largeTag { font-size: large; }
    .largestTag { font-size: xx-large; }
    -->
    </style>
    <cfoutput query="tags">
    <cfif tags.tagCount EQ min>
    <cfset class="smallestTag">
    <cfelseif tags.tagCount EQ max>
    <cfset class="largestTag">
    <cfelseif tags.tagCount GT (min + (distribution*2))>
    <cfset class="largeTag">
    <cfelseif tags.tagCount GT (min + distribution)>
    <cfset class="mediumTag">
    <cfelse>
    <cfset class="smallTag">
    </cfif>
    <a href="/tag/#tags.tag#"
    class="#class#">#tags.tag#</a>
    </cfoutput>

  • Scheduled Brio/IR Jobs are not running as expected in EPM 11.1.2.2

    Hi All,
    We are observing some scheduled jobs are not running as expected,they are not running on the scheduled time.
    Given below are more details.
    We have 2 Jobs running at 6:00 AM daily based on single Recurring Time Event and it is observed that this jobs are not running on time(ex: 6:06 AM EST).
    I tried verifying Consolidate Job Status in workspace admin options and the v8_RecurtimeEvent table for any miss in the 'Next Run Time',
    but they were having the scheduled date/time of run.No clue from EPM Logs.
    Interesting observation is the same jobs are running after updating the schedule time a little bit further(ex: 6:06 AM to 6:07 AM),but again after some days
    the updated job(6:07 AM ) will stop running.
    Thanks,

    Put the IR job logs in TRACE:32 mode which will give more information in the logs . Refer this document link to put in TRACE mode :http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    Thanks,
    KK

  • I keep getting a error code of 2349 which prevents me from running updates successfully. How does th

    I keep getting a error code of 2349 which prevents me from running updates successfully. How does this get fixed?

    As John said, we need at least some system information and what program you are referring to...
    Mylenium

  • Trying to capture what reports are being run and by what users

    Hi all,
    A few months ago, we upgraded to Discoverer 11g. One of the fixes I was hoping for was the updating of the query statistics table to see what reports are being run and who was running them.
    The problem is that most users are running Discoverer Plus but they are not "gracefully" closing Discoverer Plus via File -> Exit. They simply hit ths "X" to close the window. Oracle says that when users do this, their statistics are not written to the query statistics tables. I am finding that the EUL workbooks that we have installed are pretty useless due to this and really the only reason I have left the query statistics logging to be enabled. I am now seriously considering disabling this as it is very inconsistent (we do trim the query statistics table on a rolling 180 days of history via concurrent program that deletes stats older than 180 days).
    I am wondering if anyone here has done any logging of what workbooks are being run through some trigger? I see there is a EUL trigger function that we have in place, called post save documents, it records the workbook name, sql, etc. But it does not record the date that it was run. Has anyone modified this trigger so that every time a report is run it logs the report, sql, user and when it was being run to the table?
    I have an Oracle SR open, I've asked this in a couple different ways but they keep coming back to a canned answer of "if the user does not do File -> Exit, it will not log their session to the statistics table... blah blah blah".
    I hope I am making sense in what I am asking for.
    Thank you.
    Regards,
    Jerry

    Hi,
    I have never found the Discoverer stats to be very useful for some of the reasons you have given.
    I don't see that an EUL trigger will do what you want as unfortunately there is no open document trigger. So to get any information you have to rely on the user saving the workbook.
    One option you could explore is to use a DBMS_FGA (fine grained access) policy to audit some of the Discoverer query statements. For example, you can add a FGA policy to the EUL5_DOCUMENTS table that records all SELECTs on the table. That will show you which users are opening the workbooks you have in the EUL. Or you could add a policy to the views/tables used in the Discoverer workbooks and then audit the selects with an audit condition to audit only Discoverer sessions.
    How you do it depends on exactly what you want to audit.
    Rod West

  • I have about 5,000 images in a Folder.  How can I determine which images are NOT in a Collection?

    I have about 5,000 images in a Folder.  How can I determine which images are NOT in a Collection?

    Create a smart collection with criteria "collection" and "does not contain"; and also with criterion Folder contains (or folder contains all)
    That works if you are thinking about a specific named collection.
    If you are interested in finding photos that are not in ANY collection, the usual trick is "collection" "does not contain" "a e i o u y"

Maybe you are looking for

  • Errors in ADF page while runtime

    hi, I am facing errors in funsion web application. While running a jspx page errors are 1) error while opening JDBC connection 2) null password given; login denied 3) unexpected exception caught: java.long.NullPointerException,msg=null Thanking you w

  • HP laserjet p1102w firmware update problem

    HP offers an update of firmware for Eprint, nevertheless this update has a mistake since when it establishes himself and got the power off the printer, the IP gets lost in the memory of the printer and changes for 0.0.0.0. It is a mistake for HP in t

  • How to find number of users logged into ODI

    Hi Experts, I am using ODI 11g in linux environment. I have created 15 users in system manager tab. My query is, how to find ODI11g logged in users list For Example, out of 15 users, 7 users are accessing ODI, how to fetch 7 users name list. Is there

  • Buyer not appearing in the Approver LOV for a PO

    Hi, When submitting a Standard PO for Approval, my name(Buyer) was not visible in the Approver drop down list. It should have been there, and was there all last week. But today it was gone. This happens intermittently and if I close all IE sessions a

  • Oracle RAC 10.2.0.4 installation error in windows 2008 R2

    Hi! below is the error i got; INFO: Command = C:\Windows\system32\cmd /c call C:\oracle\product\10.2.0\crs/install/crssetup.config.bat Step 1: checking status of CRS cluster Step 2: creating directories (C:\oracle\product\10.2.0\crs) Step 3: configur