This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.