This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Query with Program execution and CPU utilization of it .