diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 31b733a50d..76b4070b50 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2010-05-20 Sergio Martin + + * unix/Linux/pandora_agent.conf: Improved the + agent modules memused and proctotal + 2010-05-20 Ramon Novoa * unix/pandora_agent_installer, unix/DEBIAN/control, diff --git a/pandora_agents/unix/Linux/pandora_agent.conf b/pandora_agents/unix/Linux/pandora_agent.conf index 02fbb6329c..ff9c0c660a 100755 --- a/pandora_agents/unix/Linux/pandora_agent.conf +++ b/pandora_agents/unix/Linux/pandora_agent.conf @@ -146,14 +146,16 @@ module_end module_begin module_name memused module_type generic_data -module_exec cat /proc/meminfo | grep "Active" | awk '{ print $2 }' +module_exec cat /proc/meminfo | grep "Active:" | awk '{ print $2 }' module_postprocess 0,976 +module_description Meminfo postprocess module_end module_begin module_name proctotal module_type generic_data -module_exec ps -A | wc -l +module_exec ps -A | tail --lines=+5 | wc -l +module_description Total processes module_end # Process information