This discussion is archived
2 Replies Latest reply: Apr 6, 2013 4:55 AM by Bruno Condemi RSS

How to get CPU usage

user8654458 Newbie
Currently Being Moderated
Hi in my system there will be a master node and n number of slave nodes. The master node will forward the incoming request to one of its slave nodes. I want to find the CPU usage of all its slave node, So that i can forward the request to the appropriate node. I have found similar question like this in that they answered to use getCpuUsage() to find. But when i use it am getting an error like cannot find symbol: getCpuUsage(). Can any one please suggest me how can i find the cpu usage percentage (of the slave node with their i.p address). Thanks in advance.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points