diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi
index 678b31547..91cdd3958 100644
--- a/html/cgi-bin/services.cgi
+++ b/html/cgi-bin/services.cgi
@@ -232,17 +232,13 @@ sub isrunningaddon (@) {
my @pid = split(/\s/,$testcmd);
$status .="
$pid[0] | ";
- my $memory = 0;
+ # Fetch the memory consumption
+ my $memory = &General::get_memory_consumption(@pid);
- foreach (@pid){
- chomp($_);
- if (open(FILE, "/proc/$_/statm")){
- my $temp = ;
- @memory = split(/ /,$temp);
- }
- $memory+=$memory[0];
- }
- $status .="$memory KB | ";
+ # Format memory
+ $memory = &General::formatBytes($memory);
+
+ $status .="$memory | ";
}else{
$status = " | ";
$status .= "$Lang::tr{'stopped'} | | ";