I am in need to read Server CPU Load, Memory Usage, No of Connections from my plain Java Client. I perform some custom actions after reading the values.
Server here includes Database Server and Web Server.
I am not looking for any enterprise monitoring solutions. I just need to be able to read the above server attributes.
I cannot have any of my custom code deployed on the server side to be used as RMI or RPC.
Is there a way to do this in plain Java, please guide me.