Update memory.pm
This commit is contained in:
parent
539398378d
commit
eafe7382ad
|
@ -66,7 +66,7 @@ sub run {
|
|||
nothing_quit => 1);
|
||||
|
||||
my $free_size = $result->{$oid_raisecomAvailableMemory} * 1024;
|
||||
my $total_size = $result->{$oid_raisecomAvailableMemory} * 1024;
|
||||
my $total_size = $result->{$oid_raisecomTotalMemory} * 1024;
|
||||
my $used_size = $total_size - $free_size;
|
||||
|
||||
my $prct_used = $used_size * 100 / $total_size;
|
||||
|
|
Loading…
Reference in New Issue