How to  take trace of concurrent programme while it is in running state?

how to take trace of concurrent programme while it is in running state?

838982 wrote:
how to take trace of concurrent programme while it is in running state?You cannot until it is completed -- You may generate the TKPROF file if the trace file has been generated and contains some data but this may not be helpful.
How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
How to Set a Trace with Bind and Waits from the Concurrent Request Form [ID 601647.1]
How To Find Trace File From Concurrent Request ID [ID 452225.1]
Thanks,
Hussein

Similar Messages

  • How to force the display to sleep, while keeping the computer running?

    I'm running some compression and transcoding programs on my iMac G5 (iSight) that keeps the CPU at 100% for hours at a time. My Energy Saver prefernces is set to sleep the display after a few minutes, but never to sleep the computer or the hard disk.
    Like I'd expect with such a high CPU load, my computer's screen does not go to sleep.
    Is there a program or command line utility that I can run to force my screen to go to sleep, but keep the computer running?
    iMac G5 17" (iSight)   Mac OS X (10.4.5)  

    To put your display only to sleep;
    Go to System Preferences, click on 'energy saver', check the 'Put the display to sleep when the computer is inactive for' box, and then set the time. Note; this just puts the display to sleep, not the whole computer. Your hard disk will keep running. I find this much more convienent than putting the computer in 'full sheep'. It wakes up much quicker without some of the hassle some computers display coming up from full sleep.

  • How to remove a member from cluster while CQ (cq5.5) instances are running?

    Hello,
    I have a query:
    how to remove a member from cluster while CQ instances are running? And is there any particular log to check that it got removed?
    Thanks in advance..

    I might be wrong. AFAIK you do not have the option to remove without shutting down and modfying cluster.properties.
    However this usecase would be minimal because before going into production you would have verified your architecture.

  • I lost my iphone in the woods and it is not connected to the internet. how can i trace it? and if i cant, can i take all the data, such as pictures from my old phone onto a new one?

    so i was walkin in the woods and somehow i droped it. its not conected to the internet. i know because i checked icloud. when i walked around to look for it i used a friends phone to call it so it would ring, but it went straight to voice mail.
    So, how can i trace it? and if i cant, can i take all the data, such as pictures from my old phone onto a new one?

    if you installed find my iphone app on it you can do these things from icloud if it's online
    if not you can't do anything

  • I just got a ipod touch 5th generation and i was wondering if you can or how to take a picture while your recording a video?

    I just got a ipod touch 5th generation and i was wondering if you can or how to take a picture while your recording a video?

    https://itunes.apple.com/us/app/videosnap-taking-still-photo/id552270851?mt=8
    The manual does not show that feature natively for the iPod. Later iPhones and iPads have that feature natively.

  • How to set jButton to display hourglass while executing.

    Hi All,
    How to set jButton to display hourglass while executing.
    Here is my code:
        private JButton jButton5 = new JButton();
        jButton5.setText("Refresh");
        jButton5.setBounds(new Rectangle(805, 35, 145, 25));
        jButton5.setBackground(Color.green);
        jButton5.setFont(new Font("Tahoma", 1, 15));
        jButton5.setForeground(Color.blue);
        jButton5.setSize(new Dimension(145, 25));
        jButton5.setModel((ButtonModel)panelBinding.bindUIControl("Execute",jButton5));Thanks.

    user38000 wrote:
    I do not have much experience with Java, my background is database admin, could you please spell out syntax and where introduce hourglass behavior based on the code I posted.While bobear may post his code, my recommendation in this situation is that you are always better to use the advice given, the API and the tutorials to first try to do this yourself and see what happens. Then if it fails, come back with your code attempt.
    One concern of mine, and my main reason for posting is that it seems like your JButton will initialize a task that may take a bit of time to perform (hence the need for the hour-glass). I just want to make sure that you call this task in a background thread such as within a SwingWorker's doInBackground() method. For more on this, please google the Sun tutorial on Concurrency in Swing.
    Much luck!

  • Oracl concurrent programme or a pl/sql package

    Hello all,
    I have a concurrent programme which is calling a package. How can i debug it? I mean,as the programme takes a day to run, i need to know where exactly in the package is the control...
    Any help is appreciated.
    Thanks

    there are many ways to debug a code. one is to run the code manually to check for any errors that might be thrown. second if there are no oracle error and if you are looking for logic or data error you might want to use [dbms_output.put_line()|http://www.psoug.org/reference/dbms_output.html] package to each line of code to see what might your code is returning a data. hope this helps.

  • Hr_utility.trace - standard concurrent program

    Hi,
    We have a standard concurrent program that we think is falling over due to data error. Looking at the code that is being run, there seems to be a lot of useful info traced out by hr_utility.trace(). How can I enable this for a concurrent program though? It seems that all the references I can find refer to enabling it when calling from sqlplus etc, rather than when the code is running as part of a concurrent program.
    Thanks

    /dev/null wrote:
    Hi,
    We have a standard concurrent program that we think is falling over due to data error. Looking at the code that is being run, there seems to be a lot of useful info traced out by hr_utility.trace(). How can I enable this for a concurrent program though? It seems that all the references I can find refer to enabling it when calling from sqlplus etc, rather than when the code is running as part of a concurrent program.
    ThanksYou need to take a backup of the package and add the code -- Please see these docs for details.
    Using PYUPIP in Oracle HRMS [ID 130374.1]
    How To Trace In The HRMS Application [ID 105292.1]
    Oracle HRMS Data Pump [ID 226988.1]
    If you want to use the regular trace, please refer to:
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    How To Create Trace File and Run Tkprof in E-Business Suite Applications - Condensed Version [ID 141278.1]
    Thanks,
    Hussein

  • How to take square root of it

    Hi Folks!
    Can anybody tell me how to take square root of this value "bi"?
    BigInteger bi = BigInteger.valueOf(2000000000);
    Thanks in advance.

    I wrote this simple sqrt function for BigInteger.
    * Returns the largest BigInteger, n, such that bigInt>=n*n.
    * If round is true, the function returns n+1 if it is closer to actual square root.
    * @param round if true, attempt to find a closer value by rounding up.
    * @return <tt>round ? round(sqrt(bigInt)) : floor(sqrt(bigInt))</tt>
    public static BigInteger sqrt(BigInteger bigInt, boolean round){
         BigInteger op = bigInt;
         BigInteger res = BigInteger.ZERO;
         BigInteger tmp;
         int shift = bigInt.bitLength()-1;     
         shift -= shift&1;
         // set one to highest power of 4 <= bigInt
         BigInteger one = BigInteger.ONE.shiftLeft(shift);
         while(one.signum()>0){
              tmp = res.add(one);
              if(op.compareTo(tmp)>=0){
                   op = op.subtract(tmp);
                   res = res.add(one.shiftLeft(1));
              res = res.shiftRight(1);
              one = one.shiftRight(2);
         if(round&&op.signum()!=0){
              op = bigInt.subtract(res.pow(2));
              if(op.compareTo(res)>0){
                   res = res.add(BigInteger.ONE);
         return res;
    }

  • Name of trace file from trace enabled concurrent program

    Hi all,
    I am looking for a sql script or method to find the name of a trace file in udump for trace enabled concurrent programs. I know the trace files show 11i logon (user_name from fnd_user) in the name of the trace file but I am looking for a sql that would give the exact name of the raw trace file with request id as input.
    I have 11.5.10.2.
    Any help?
    Thanks,

    Please see these docs.
    11i-How to find the Trace file generated for a concurrent program [ID 270446.1]
    How to find the Trace file generated for a concurrent program? [ID 967966.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • How to use "Trace" in  JPDA

    I want to know how to use "Trace" in Java Platform Debugger Architecture.
    Trace displays traces of program execution.
    how to invoke it?
    Trace can be invoked as follows:
    java Trace options class args
    what in front of me is I set envoriment variant and system variant by windows 2000 pro control panel by set: "CLASSPATH", in variant name and �E:\Java\jdk1.5.0_06\lib\tools.jar� in variant value.
    But while I use
    jave Trace -help myclass
    (this myclass.class is working by "java myclass")
    there is:
    "Exception in thread "main" java.lang.NoClassDefFoundError: Trace"
    in the screen.
    Please help me by this function though Sun said it is easier than jdb.
    mysys:
    window 2000 pro. (Chinese)
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    thank for your attention

    ok, please read "How to use "Trace" in JPDA"
    sundararajan.a give me many thing than solution
    and read his blog...
    refer to http://blogs.sun.com/roller/page/sundararajan?entry=java_class_ic_errors
    as well.

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • How long is the iPad battery last while watching video on YouTube with 3G?

    How long is the iPad2 battery last while watching video on YouTube with 3G?

    My iPad 2 battery can use only ~7 hours 15mins when surfing the web using cellular data network. Is it normal?
    I would say that's normal. Cellular uses more power than wifi. Your screen brightness is also a factor. Lower the screen brightness & battery will last longer.
    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
     Cheers, Tom

  • How to take tkprof for a query

    Hi,
    How to take tkprof for a query?
    Nirmal

    Take a look at the following documentation link. It details the steps to turn on sql trace and use TKPROF to generate the report.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm

  • How to take XML data source from URL?

    Hi,
    I creating application which need to download some data from any web page. This page is creating via XSL (as stylesheet) .This XSL
    process some XML "data source" and generate HTML page. I wanna ask if exist some way how to take this XML "data source"? If i used
    URL and take InputStream I everytime obtain full generated HTML, JavaScript page - compiled by web browser. But if i look to "page
    source" of this page in web browser i see just that XML data source which i need to take (only at start of this xml is way to xsl
    style sheet).
    But this problem i have only at my required page.If i tried to take another page with similar structure code, it was succesful.
    Here is link : LINK
    Why i dont have permision take clear xml from this page?What is so special?
    Exist some way how to take this XML without generated html code?
    Thank you.

    I apologize for my english. I try explain my problem again:
    At this url [http://eu.wowarmory.com/item-info.xml?i=33677] is web page. If you look at "page source", web page is create via XML and XSLT. I need load this data source. I used DOMParser for that:
    URL url = new URL("http://eu.wowarmory.com/item-info.xml?i=33677");
    DOMParser parser = new DOMParser();
    parser.parse(url);
    XMLDocument doc = parser.getDocument();I get exception : Exception in thread "main" oracle.xml.parser.v2.XMLParserException: Expected '?>' instead of 'EOF'
    If i used it at another page (for example [http://www.w3schools.com/XML/simplexsl.xml|http://www.w3schools.com/XML/simplexsl.xml] ), compile was successful and i can work with this XMLDocument and etc.
    I try load it by InputStreamReader too:
    URL url = new URL("http://eu.wowarmory.com/item-info.xml?i=33677");
    try {
        BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream());
        String line;
        while ((line = br.readLine() != null) {
            System.out.println(line);
    } catch (IOException e) {
        e.printStackTrace
    }i get only compiled HTML code by web browser. At second page i load successfuly XML data - not compiled by browser.
    Is possible to take original xml page source from this page? And what diferent is between this pages?
    Thank you and i hope, you can translate this post without headache :-) If it will be necessary, i can more specify some details.

Maybe you are looking for