This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32636
    
216

How about using an operating system command to check that?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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: 32636
    
216

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 .
 
It's not a secret anymore!