hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devaraj k <devara...@huawei.com>
Subject RE: ResourceCalculatorPlugin.getCpuUsage
Date Tue, 17 Apr 2012 15:32:52 GMT
It should return 100.0 for fully utilized machine.

Thanks
Devaraj

________________________________________
From: Radim Kolar [hsn@filez.com]
Sent: Tuesday, April 17, 2012 7:53 PM
To: mapreduce-dev@hadoop.apache.org
Subject: ResourceCalculatorPlugin.getCpuUsage

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?

Mime
View raw message