2009-12-21 Sancho Lerena <slerena@artica.es>
* util/tentacle_served: Fixed call to get_pid, using a width of * 300 cols. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
999fcfef3a
commit
400db17068
|
@ -1,3 +1,7 @@
|
|||
2009-12-21 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* util/tentacle_served: Fixed call to get_pid, using a width of 300 cols.
|
||||
|
||||
2009-12-21 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* util/pandora_xml_stress.pl: Properly read agent_interval
|
||||
|
|
|
@ -33,8 +33,12 @@ else
|
|||
fi
|
||||
|
||||
function get_pid {
|
||||
TENTACLE_PID=`ps -Af | grep "$TENTACLE_PATH$TENTACLE_DAEMON" | grep -v grep | tail -1 | awk '{ print $2 }'`
|
||||
echo $TENTACLE_PID
|
||||
# This sets COLUMNS to XXX chars, because if command is run
|
||||
# in a "strech" term, ps aux don't report more than COLUMNS
|
||||
# characters and this will not work.
|
||||
COLUMNS=300
|
||||
TENTACLE_PID=`ps -Af | grep "$TENTACLE_PATH$TENTACLE_DAEMON" | grep -v grep | tail -1 | awk '{ print $2 }'`
|
||||
echo $TENTACLE_PID
|
||||
}
|
||||
|
||||
# Pandora server settings
|
||||
|
|
Loading…
Reference in New Issue