Running and memory cost of my program

I want to know how to check my program on memory and running parameters?
All i need to implement jvmpi for getting it done.

ThreadMXBean mxb = ManagementFactory.getThreadMXBean();
System.out.println("Current Thread CPU Time "+mxb.getCurrentThreadCpuTime()+" nano sec");
System.out.println("Current Thread User Time "+mxb.getCurrentThreadUserTime()+" nano sec");
System.out.println("Total Started Thread "+mxb.getTotalStartedThreadCount());               i think cpu time = Execution time of my program
then what is thread user time?
Also tell me Total Started Thread = 4
If i am right then i know only 3 threads -> java interpreter(jvm) thread
->main thread(currently running program)
->gc thread
->?(i dont know which is 4th....Please tell me)

Similar Messages

  • Costing run and premilinary cost estimate

    Dear All,
    Is it possible to run cost estimate and premilinary cost estimate for a product cost collector back dated.  I mean for 01.03.2007. I know  it is not possible. But anyother way out.
    ranga

    Hi Rangarajan
    I think it is possible in future date and not backwards.
    Thanks
    Ashok
    Assign points for useful answer

  • I am trying to uninstall firefox and when i click uninstall it says the program is still running so i stop it and it exits the remove program

    im trying to uninstal firefox so i went to my control pannel clicked on add or remove progams then clicked on mozzola firefox and clicked remove it said it was still running so i clicked ctrl alt dlt and clicked task manager and ended firefox from running and when i did that the box to uninstall firefox exited so i clicked it again and the program started running again i dont know what to do i need firefox uninstalled

    I assume you are using windows. There are two options:
    1. Try restarting your computer and then try uninstalling.
    2. Firefox might be a program that starts immediately upon booting. In that case, go to the task manager, end all tasks that firefox is running. Then try uninstalling firefox

  • When I boot up my system and Firefox is not running, Firefox tells me I must update, but when it begins to do so, it tells me that the program is currently running and that I must turn it off before the update can proceed.

    Basically, I don't know any better way to turn it off than to try closing the program or rebooting the computer. Rebooting usually works, as in the following instance which happens occasionally: I close Firefox, move on to another task, and then try to open Firefox again and am told that Firefox is still running and that I must try to close it again or reboot. Trying to close it again is impossible because for all I can see, it is closed. So, I reboot and can then successfully start Firefox. That is a nuisance that I would like to remedy. I was hoping that the update of the program might resolve the problem, but I can't get the update to work, as explained above.

    Hello,
    I would like to strongly recommend that you update your version of Flash Player to our currently released version (17.0.0.169) and enable auto updates.  The version you are using is insecure and opening your computer (and all of your data) to being easily exploited by bad guys.
    As for the error you are receiving, this is most likely a restriction from the website.  Each developer is able to specify what the required minimum version of Flash and require their users to have at least that version installed.  The detection that is occuring and the message that you are seeing on the website isn't part of Flash Player, but instead part of the website's code.
    If you go to this page and click the "Check Now" button, what is displayed (OS, browser and version number)?  Do you see the "tree" animation playing below?
    Flash Player Help
    Thanks,
    Chris

  • I am unable to successfully install itunes 10.5. I can download it, but when I go to install the program it says that a program could not be run and it won't give the name of the program. I have the vista 64-bit system.

    I cannot install iTunes 10.5. I can download it, but when I go to install it says that a program cannot be run and it won't give the name of the program. I have the Windows Vista 64-bit system.

    That would be my first guess.  You might be trying to install the 32 bit version of the program.
    Update the thread with more info on your apple software etc if its a 64 bit install you're trying to perform.

  • I was running Foxfire 3.6.9 and wanted to use FTP Program add-on and it did not appear to load but appeared but then would be installed but not run or appear under tools. So I deleted Foxfire 3.6.9 and down loaded to 3.5.9 so it could get FTP and it is do

    I was running Foxfire 3.6.9 and wanted to use FTP Program add-on and it did not appear to load but appeared but then would be installed but not run or appear under tools. So I deleted Foxfire 3.6.9 and down loaded to 3.5.9 so it could get FTP and it is doing the same could not install. Even after I registered my copy. The last time I used this program it showed up under tools and worked great. any suggestions on whats going on and how I can get around this?.by ralphd3g

    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled extensions that are not compatible on the next start in "Tools > Add-ons > Extensions" then click the "Find Updates" button to do a compatibility check.

  • How toStore the Date Variable and pass it when the program runs next time??

    HI All,
    My JDBC program basically needs two command line args. Rabge_Start_Dt and Range_End_Dt. for ex:
    2001-05-31 and 2001-06-01 . And my porgram should run every day. Next day the date range will be 2001-06-01 to some date. It means I have to store some how the range_end_dt and pass it as range_start_dt when my program runs the next day.
    Problem:
    How can I store the Data variable and pass it as an argument to my porgram when It runs next time. Every time my pogram runs It should pick the range start_dt (==range_end_dt of the previuos run) and end_dt I have to go and query some other data base and pass that value to it.
    Thanks in advance!!!!

    save the value in a file, then read it back in each day. Similar to when a process needs a PID.
    -blhqctz

  • Standard and actual costing run

    I am doing actual coting run ckmlcp every month end on last of the month. stadard costing run I am doing on start of the month on 1st day of the month before actual transactions taking place.
    Here the problem is I already did the stadard costing and actual costing runfor april, now i want to do stadard costing today midnight 1AM for june and I want to do actual costing tomarrow evening 6PM for may.
    April stadard price is Rs150 and current stadard price is Rs 160 beacause of 1st june costing run.  If I will do the costing for May month now means  (1st)tomarrow evening which stadard price it will pick in ckmlcp and varience calculated.

    as cost estimate is run for the material in plant u can not  get cogs at  depot  level.
    Edited by: kumaraguru v on Jan 17, 2008 12:24 PM
    Edited by: kumaraguru v on Jan 17, 2008 12:25 PM

  • I start the computer the screen has blue vertical stripes and says that the Adobe Air application can not be found. Some of my programs don't run and say: You: Error access violation at 0x0055F525

    I start the computer the screen has blue vertical stripes and says that the Adobe Air application can not be found. Some of my programs don't run and say:
    You: Error access violation at 0x0055F525. I reinstalled Adobe Air. No change. I went to the Adobe webside and they said to repair it with a program. I bought RegCure. Didn't change anything. What to do?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • Program start-up and Memory

    I have a program that exhibits some interesting behavoir with memory consumption.
    When I start my executable jar (without specifying a specific java heap size), the Windows task manager reports that the program is consuming about 20MB of memory. However, when I minimize the program and then bring up the program again (i.e. de-iconizing it), the amount of memory consumed is about 10 MB.
    Any ideas on what is possbily going on ?

    no =)

  • Costing run and activity allocation

    hi,
    as there is a costing run (routing) to get the cost, may i know why still need to do direct or indirect activity allocation ; actual assessment ; actual distribution?
    thanks
    rgds

    hi,
    Costing run and activity allocation are two different processes..... 
    the former calculates the cost of a product
    whereas the later distirbutes the cost among various heads as you want to

  • FFox 3.6.8. Repeated problem. I close it, then hours later try to relaunch it, and it says it's still running. So I have to End Process in Task Mgr. Also, plug-container keeps running and takes LOTS of memory. Ergo, 3.6.8 is a step backward.

    FFox 3.6.8. Repeated problem. I close it, then hours later try to relaunch it, and it says it's still running. So I have to End Process in Task Mgr. Also, plug-container keeps running and takes LOTS of memory. Ergo, 3.6.8 is a step backward. I wish I hadn't upgraded. What can be done?
    == This happened ==
    Every time Firefox opened
    == I upgraded to 3.6.8. Not before.

    See http://kb.mozillazine.org/Firefox_hangs and [[Firefox hangs]] (Hang at exit)

  • Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Question:  Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions! If so what would you recommend? Was looking at Sophos. Does anyone have any experience with this? Thanks

    Do I need to run and anti virus program with MAC OSX Lion? Have heard different opinions!
    You will continue to hear different opinions here, where thoughts range everywhere between "anti-virus software is the evil spawn of Satan" to "anyone not running anti-virus software is a fool."
    Truth is, this is still a very personal decision on a Mac. Depending on circumstances, it is still very easily possible to stay safe without using anti-virus software, but circumstances and personal preferences vary widely. Besides which, anti-virus software cannot even remotely provide you a guarantee of protection!
    To learn how to stay safe (with or without anti-virus software), and how to decide whether to use anti-virus software, see my Mac Malware Guide.

  • I can't get Firefox to bring up the browser. It continually tells me that the program is already running and to either close it or restart my computer. Not having anything to actually close, I restarted the computer five times. Now what?

    I can't get Firefox to bring up the browser. It continually tells me that the program is already running and to either close it or restart my computer. Not having anything to actually close, I restarted the computer five times. Now what?
    == This happened ==
    Just once or twice
    == Today. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; PeoplePal 6.6; PeoplePal 7.3) w:PACBHO60 w:PACBHO60 w:PACBHO60 w:PACBHO60 w:PACBHO60

    Phillipp,
    I tried it again using "save link as", and this time it actually worked! I just now downloaded several more using the "save link as" option, and it works perfectly. Thanks. Problem solved.
    Littleberry

  • I want to upgrade to snow leopard from 10.5.8. Im hesitant to proceed because I'm running iPhoto 7 and word 2004. I want to be sure these programs will still run and I won't lose my photos or the events I have ordered them by. Should i makea clone o

    I want to upgrade to snow leopard from 10.5.8. Im hesitant to proceed because I'm running iPhoto 7 and word 2004. I want to be sure these programs will still run and I won't lose my photos or the events I have ordered them by. Should i make a partition on my new Iomega external and clone it just in case? I'm running time machine and backing up all the time onto an old LaCie, and right now I have a copy of my iPhoto library on new Iomega, which I recopy every couple of weeks. I got the computer new several years ago and it came with iLife and 10.4 OS I think.

    Word 2004 is almost 10 years old, you will not be able to upgrade beyond Snow Leopard with it. IMHO you have gotten your money's worth out of the application and need to upgrade to Office for Mac 2011, this will work just fine and read your old files just fine too. What will not run beyond SL are all PowerPC (PPC) apps such as Word 2004. You will need to update, upgrade or replace any PPC based apps you want to use. I would recommend taking a little time and check for updates to each of your apps. Then open System Profiler (Applications - Utilities - System Profiler) click the Applications link on the left and then look for any PPC based apps, those are the ones that will not run. You can upgrade to SL just fine with the apps you currently have however if you want to go beyond SL (it's already 2 generations behind) you will need to update or upgrade your apps. You can take your time doing it but eventually you're going to have to begin

Maybe you are looking for