Update systemLoadPercentage()

This commit is contained in:
billz 2019-10-15 10:11:51 +01:00
parent ab8648c3e5
commit dbc3ff4950

View file

@ -43,6 +43,7 @@ class System {
}
public function systemLoadPercentage() {
return floor(($this->loadAvg1Min() * 100) / $this->processorCount());
return intval(($this->loadAvg1Min() * 100) / $this->processorCount());
}
}