2009-10-17 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Fixed problems in small term with PID detection. * unix/Linux/pandora_agent_daemon: Same as above. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7af1bdc379
commit
97cec561e0
|
@ -1,3 +1,10 @@
|
|||
2009-10-17 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* 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 <slerena@artica.es>
|
||||
|
||||
* win32/installer/pandora.mpi: Updated installer.
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue