Update memory.pm

This commit is contained in:
cgagnaire 2017-02-06 13:02:22 +01:00 committed by GitHub
parent 539398378d
commit eafe7382ad
1 changed files with 1 additions and 1 deletions

View File

@ -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;