mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Solved no swap in pandora_mem_usage
This commit is contained in:
parent
268cff6d55
commit
e074b021f3
@ -12,7 +12,7 @@ eval {
|
|||||||
$SFREE=($SUSED/$STOTAL)*100;
|
$SFREE=($SUSED/$STOTAL)*100;
|
||||||
};
|
};
|
||||||
if ($@) {
|
if ($@) {
|
||||||
$SFREE = 0;
|
$SFREE = 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
$SFREE = floor($SFREE);
|
$SFREE = floor($SFREE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user