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.
Hi all, I want to find the CPU usage of a machine in the network or the localhost. is that possible in Java? if so please help, otherwise if any one know a utility to do so please tell me. things also such as available memory / hard disk ... are intersting to me as well
Those capabilities are very closely tied to the operating system. If you are using a friendly operating system, say Linux, you can access that information through the proc filesystem. If you are using an os that is unfriendly, say, Microsoft Windows, you will have to write native code to do the dirty work and use JNI to get it into Java..