Lines Matching refs:procname
261 # check_pidfile pidfile procname [interpreter]
263 # that the process is running and matches procname.
273 err 3 'USAGE: check_pidfile pidfile procname [interpreter]'
288 # check_process procname [interpreter]
289 # Ensures that a process (or processes) named procname is running.
298 err 3 'USAGE: check_process procname [interpreter]'
304 # _find_processes procname interpreter psargs
305 # Search for procname in the output of ps generated by psargs.
308 # If interpreter == ".", check the following variations of procname
310 # procname
311 # `basename procname`
312 # `basename procname` + ":"
313 # "(" + `basename procname` + ")"
314 # "[" + `basename procname` + "]"
316 # If interpreter != ".", read the first line of procname, remove the
317 # leading #!, normalise whitespace, append procname, and attempt to
321 # tried as the prefix to procname.
326 err 3 'USAGE: _find_processes procname interpreter psargs'
756 # procname n Process name to check for instead of $command.
951 _procname=${procname:-${command}}
1394 extra_commands pidfile procname \