This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Performance and the fly likes Query with Program execution and CPU utilization of it . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Performance
Bookmark "Query with Program execution and CPU utilization of it ." Watch "Query with Program execution and CPU utilization of it ." New topic
Author

Query with Program execution and CPU utilization of it .

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528

How can i know what percentage of CPU is utilized by my program . I am using Netbeans built in profiler .

Can anybody please suggest any ideas .


If you want something you never had do something which you had never done
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30580
    
154

How about using an operating system command to check that?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Can you please tell me what is that command and how to run that command

Thanks in advance
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30580
    
154

What operating system are you using?
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
I am using windows XP .Please reply the command and how to use
Carey Evans
Ranch Hand

Joined: May 27, 2008
Posts: 225

In Windows I would use Process Explorer for interactive testing, WMI from native code, or ThreadMXBean from within Java.
 
GeeCON Prague 2014
 
subject: Query with Program execution and CPU utilization of it .