diff --git a/pandora_agents/unix/plugins/pandora_mem b/pandora_agents/unix/plugins/pandora_mem
index 229b05ca8a..b918abe31b 100755
--- a/pandora_agents/unix/plugins/pandora_mem
+++ b/pandora_agents/unix/plugins/pandora_mem
@@ -20,36 +20,37 @@ $FREEP = floor($FREEP);
my $freemem=`cat /proc/meminfo | grep 'MemFree' | awk '{ print \$2 } '`;
my $cached=`cat /proc/meminfo | grep '^Cached:' | awk '{ print \$2 } '`;
my $cachedswap=`cat /proc/meminfo | grep '^SwapCached:' | awk '{ print \$2 }'`;
+my $total_meminfo=`cat /proc/meminfo | grep 'MemTotal:' | awk '{ print \$2 }'`;
my $available=$freemem+$cached+$cachedwap;
-my $available_percent = floor(($available / $TOTAL)*100);
+my $available_percent = floor(($available / $total_meminfo)*100);
print "\n";
-print "FreeMemory\n";
-print "generic_data\n";
-print "Free memory %. Note most linux use 99% of available memory by default, check Availablememory module for more accurate information on available physical memory on system\n";
-print "%\n";
-print "0\n";
-print "2\n";
-print "$FREEP\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
print "\n";
print "\n";
-print "FreeSwap\n";
-print "generic_data\n";
-print "Free Swap %\n";
-print "%\n";
-print "0\n";
-print "5\n";
-print "$SFREE\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
print "\n";
print "\n";
-print "AvailableMemory\n";
-print "generic_data\n";
-print "Available Physical Memory % (Free+Cached+CachedSwap)\n";
-print "%\n";
-print "0\n";
-print "10\n";
-print "$available_percent\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
+print "\n";
print "\n";