Lines Matching refs:procname
262 # check_pidfile pidfile procname [interpreter]
264 # that the process is running and matches procname.
274 err 3 'USAGE: check_pidfile pidfile procname [interpreter]'
289 # check_process procname [interpreter]
290 # Ensures that a process (or processes) named procname is running.
299 err 3 'USAGE: check_process procname [interpreter]'
305 # _find_processes procname interpreter psargs
306 # Search for procname in the output of ps generated by psargs.
309 # If interpreter == ".", check the following variations of procname
311 # procname
312 # `basename procname`
313 # `basename procname` + ":"
314 # "(" + `basename procname` + ")"
315 # "[" + `basename procname` + "]"
317 # If interpreter != ".", read the first line of procname, remove the
318 # leading #!, normalise whitespace, append procname, and attempt to
322 # tried as the prefix to procname.
327 err 3 'USAGE: _find_processes procname interpreter psargs'
766 # procname n Process name to check for instead of $command.
971 _procname=${procname:-${command}}
1465 extra_commands pidfile procname \