Results 1 to 3 of 3
Thread: CPU usage without JNI
- 12-12-2011, 07:21 AM #1
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
CPU usage without JNI
Hi all,
I wonder there is a way to find the CPU usage without using any native approach. Search the web and I found a nice library, known as Sigar.
Home - Sigar - Hyperic Support
However seem it doesn't support dynamic updates. Did anyone of you have a better solution?
- 12-12-2011, 09:25 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,605
- Rep Power
- 5
Re: CPU usage without JNI
May not be as comprehensive as you like, and I haven't used them myself, but java 7 has some updates to get the Cpu load:
Monitoring and Management Interface for the Java Platform
You also might want to check out this blog for a description, code, and possible problems associated with the above class
Hidden Java 7 Features – System and Process CPU Load Monitoring
- 12-13-2011, 02:25 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: CPU usage without JNI
Sounds good. Actually I didn't move to 7 and not aware what going on really in details. Seems it is time to move lol.
Anyway, thanks for the hint. I'll have a look and let you know.
Similar Threads
-
multipart usage
By shreya in forum Advanced JavaReplies: 2Last Post: 04-06-2010, 03:26 AM -
SerialModemGateway() Usage
By ajaxjagadish in forum Advanced JavaReplies: 1Last Post: 03-25-2010, 08:24 AM -
Help with methods usage
By bdario1 in forum New To JavaReplies: 1Last Post: 03-18-2010, 02:26 AM -
useDelimiter usage
By reis3k in forum New To JavaReplies: 4Last Post: 12-24-2009, 11:01 AM -
Usage of HTTPS
By Sayed in forum Advanced JavaReplies: 8Last Post: 12-06-2008, 10:02 AM


2Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks