How to get the cpu usage and memory usage info of a remote server using java ?

Solution Verified - Updated -

Issue

The remote server is hosting the database service, no java process. Are there any way to get the the cpu usage and memory usage info of this remote server using java?

Environment

  • Red Hat Enterprise Linux 7.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content