sleep $1 pid=`ps | grep fglrun | grep -v grep | grep -v tail | tail -1 | awk '{print $1}'` kill -2 $pid