3 |
# this script will monitor webpac and store results into |
# this script will monitor webpac and store results into |
4 |
# /tmp/webpac.$$ |
# /tmp/webpac.$$ |
5 |
|
|
6 |
echo "trying to find webpac (all2xml.pl) pid... press ctrl+c to abort" |
echo "trying to find webpac (all2all.pl) pid... press ctrl+c to abort" |
7 |
pid="" |
pid="" |
8 |
while [ -z "$pid" ] ; do |
while [ -z "$pid" ] ; do |
9 |
pid=`ps -o pid --no-header -C all2xml.pl | sed 's/ //g'` |
pid=`ps -o pid --no-header -C all2all.pl | sed 's/ //g'` |
10 |
if [ -z "$pid" ] ; then |
if [ -z "$pid" ] ; then |
11 |
sleep 1; |
sleep 1; |
12 |
echo -n "." |
echo -n "." |