3 # this script will monitor webpac and store results into
6 echo "trying to find webpac (all2xml.pl) pid... press ctrl+c to abort"
8 while [ -z "$pid" ] ; do
9 pid=`ps -o pid --no-header -C all2xml.pl`
10 if [ -z "$pid" ] ; then
19 if [ -w "$log" ] ; then
20 echo -n "appending to $log... "
22 echo "creating $log..."
24 echo "press ctrl+c to abort"
27 while [ ! -z "$line" ] ; do
28 line=`ps --no-header v -p $pid`
34 echo "log left in file $log"