File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes JNA Usage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JNA Usage" Watch "JNA Usage" New topic
Author

JNA Usage

monica jindal
Greenhorn

Joined: May 01, 2009
Posts: 5
Hi All,

I am new to JNA concepts and need a help in understanding the API.
I want to write a java program which will take the running process as its input eg:Tomcat server and will tell the status and CPU usage of that process by interacting through JNA API.

As a sample program I am able to use the JNA api to get GetLocalTime and GetCurrentProcessId.Similar to these methods there must be methods to get CPU usgae also but I am not able to getting which are those methods.

Thanks a lot for your help.

Regards,
Monica
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNA Usage
 
Similar Threads
How to get process related information as shown in Task Manager in java
Urgent!!! Need help for java API
Reg:Graphs
Performance help for CQ5 content management system
How to get thread id?