Don't limit SunOS memory and swap to the value range of int

Conflicts:
	libraries/sysinfo.lib.php
This commit is contained in:
J.M 2012-09-04 22:24:03 +02:00 committed by Michal Čihař
parent 675558ebc3
commit d8d8519645

View File

@ -204,10 +204,6 @@ class PMA_sysinfoSunos
$mem['SwapUsed'] = $this->_kstat('unix:0:vminfo:swap_alloc') / 1024;
$mem['SwapFree'] = $this->_kstat('unix:0:vminfo:swap_free') / 1024;
foreach ($mem as $idx => $value) {
$mem[$idx] = intval($value);
}
return $mem;
}
}