Lines Matching refs:pid
25 PID_FILE=/var/run/$prog/${ID}.pid
27 pid=$!
29 echo $pid > $PID_FILE
30 echo -n $"$4 (e$2.$3@$1) [pid $pid]"
72 for pidfile in `ls /var/run/$prog/*.pid 2>/dev/null`
84 local pid_file=${2:-/var/run/$base.pid}
86 pid=
94 [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p"
98 if [ -n "$pid" ]; then
111 local base pid lock_file= pid_file=
131 if [ -z "$pid_file" -a -z "$pid" ]; then
132 pid="$(__pids_pidof "$1")"
134 if [ -n "$pid" ]; then
135 echo $"${base} (pid $pid) is running..."
141 echo $"${base} (pid $pid) is running..."