Don't limit SunOS memory and swap to the value range of int
Conflicts: libraries/sysinfo.lib.php
This commit is contained in:
parent
675558ebc3
commit
d8d8519645
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user