I need to get info for memory and CPU usage of some process running on the machine (not the Java process).
How can I do that?
[I reopened the thread after it was closed as a duplicate of other thread. The other thread is not relevant, it is not talking about receiving information of other specific process].
Following are the choices for different platforms
Another possible way could be to call Native application for Monitoring from java using ProcessBuilder or RunTime java classes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With