Results 1 to 3 of 3
  1. #1
    gopinath511 is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default API's to find CPU Utilization of Current Process

    Hi World,

    Do Java 5 or Java 6 has any new API's for finding the CPU Utilization of the current process. Is there any other way of finding the CPU Utilization of current Process.

    Regards,
    Gopi

  2. #2
    vogella is offline Member
    Join Date
    Aug 2009
    Location
    Heidelberg
    Posts
    47
    Rep Power
    0

  3. #3
    vkorenev is offline Member
    Join Date
    Aug 2009
    Location
    Kharkov, Ukraine
    Posts
    29
    Rep Power
    0

    Default

    I know that CPU usage is exposed through JMX at least in Java 6. And jconsole is able to connect to itself and show its CPU usage. So I think you can do the same.

Similar Threads

  1. Process running or not
    By smartsubroto in forum New To Java
    Replies: 4
    Last Post: 11-16-2009, 03:09 AM
  2. API to find CPU Utilization of the current Process
    By gopinath511 in forum New To Java
    Replies: 4
    Last Post: 08-03-2009, 06:29 PM
  3. Process name
    By logicbug in forum Threads and Synchronization
    Replies: 1
    Last Post: 03-16-2009, 02:11 PM
  4. How to find OS Process List in JAVA ?
    By abstrusevaibhav in forum New To Java
    Replies: 0
    Last Post: 01-29-2009, 10:08 AM
  5. Api's
    By Amarnath.M in forum New To Java
    Replies: 3
    Last Post: 01-23-2008, 05:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •