diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index a88f98f82b..e3929ac80e 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,10 @@ +2009-10-17 Sancho Lerena + + * linux/pandora_agent_daemon: Fixed problems in small term with + PID detection. + + * unix/Linux/pandora_agent_daemon: Same as above. + 2009-09-30 Sancho Lerena * win32/installer/pandora.mpi: Updated installer. diff --git a/pandora_agents/linux/pandora_agent_daemon b/pandora_agents/linux/pandora_agent_daemon index 88141b4ee3..454e402d11 100755 --- a/pandora_agents/linux/pandora_agent_daemon +++ b/pandora_agents/linux/pandora_agent_daemon @@ -24,6 +24,7 @@ LOGFILE=/var/log/pandora_agent.log # This function replace pidof, not working in the same way in different linux distros function pidof_pandora () ( + COLUMNS=250 PANDORA_PID=`ps aux | grep $DAEMON | grep -v grep | head -1 | awk '{ print $2 }'` echo $PANDORA_PID ) diff --git a/pandora_agents/unix/Linux/pandora_agent_daemon b/pandora_agents/unix/Linux/pandora_agent_daemon index 88141b4ee3..454e402d11 100755 --- a/pandora_agents/unix/Linux/pandora_agent_daemon +++ b/pandora_agents/unix/Linux/pandora_agent_daemon @@ -24,6 +24,7 @@ LOGFILE=/var/log/pandora_agent.log # This function replace pidof, not working in the same way in different linux distros function pidof_pandora () ( + COLUMNS=250 PANDORA_PID=`ps aux | grep $DAEMON | grep -v grep | head -1 | awk '{ print $2 }'` echo $PANDORA_PID )