Lines Matching refs:PID
35 PID=/var/run/snmpd.pid
41 if [ -r ${PID} ] ; then
42 if kill -0 `cat ${PID}` ; then
43 echo "snmpd already running -- pid `cat ${PID}`" >/dev/stderr
46 rm -f ${PID}
48 if ${SNMPD} -c ${CONF} -p ${PID} ; then
54 if [ -r ${PID} ] ; then
55 if kill -0 `cat ${PID}` ; then
56 if kill -15 `cat ${PID}` ; then
64 rm -f ${PID}
71 if [ ! -r ${PID} ] ; then
73 elif kill -0 `cat ${PID}` ; then
74 echo "snmpd pid `cat ${PID}`"
76 echo "stale pid file -- pid `cat ${PID}`"