Load limit use the number of Core

This commit is contained in:
Floran Brutel 2015-05-09 12:49:00 +02:00
parent 1eab7e1427
commit e53b85ceb4

View File

@ -11,13 +11,13 @@
</div> </div>
<div class="table-row"> <div class="table-row">
<div class="table-cell text-left">5 min:</div> <div class="table-cell text-left">5 min:</div>
<div class="table-cell" ng-class="getAlert('load', 'load_', result['load'].min5)"> <div class="table-cell" ng-class="getAlert('load', 'load_', result['load'].min5, 100 * result['load'].cpucore)">
{{result["load"].min5 | number : 2}} {{result["load"].min5 | number : 2}}
</div> </div>
</div> </div>
<div class="table-row"> <div class="table-row">
<div class="table-cell text-left">15 min:</div> <div class="table-cell text-left">15 min:</div>
<div class="table-cell" ng-class="getAlertLog('load', 'load_', result['load'].min15)"> <div class="table-cell" ng-class="getAlertLog('load', 'load_', result['load'].min15, 100 * result['load'].cpucore)">
{{result["load"].min15 | number : 2}} {{result["load"].min15 | number : 2}}
</div> </div>
</div> </div>