ResourceCalculatorPlugin.getCpuUsage

2012-04-17 Thread Radim Kolar
float ResourceCalculatorPlugin.getCpuUsage() with javadoc comment /** * Obtain the CPU usage % of the machine. Return -1 if it is unavailable * * @return CPU usage in % */ is supposed to return 1.0 or 100.0 for fully CPU utilised machine?

RE: ResourceCalculatorPlugin.getCpuUsage

2012-04-17 Thread Devaraj k
It should return 100.0 for fully utilized machine. Thanks Devaraj From: Radim Kolar [h...@filez.com] Sent: Tuesday, April 17, 2012 7:53 PM To: mapreduce-dev@hadoop.apache.org Subject: ResourceCalculatorPlugin.getCpuUsage float