diff --git a/src/os/linux/local/mode/process.pm b/src/os/linux/local/mode/process.pm index 074a4b5c3..d63f48a7a 100644 --- a/src/os/linux/local/mode/process.pm +++ b/src/os/linux/local/mode/process.pm @@ -295,7 +295,7 @@ sub add_memory { next if ($options{content} !~ /==>\s*\/proc\/$pid\/statm.*?\n(.*?)(?:==>|\Z)/ms); my @values = split(/\s+/, $1); - my $memory_used = ($values[1] * $self->{option_results}->{page_size}) + ($values[5] * $self->{option_results}->{page_size}); + my $memory_used = ($values[1] * $self->{option_results}->{page_size}); $self->{processes}->{$pid}->{memory_used} = $memory_used; $self->{global}->{memory_used} += $memory_used; }