Lines Matching refs:procname
413 # check_pidfile pidfile procname [interpreter]
415 # that the process is running and matches procname.
425 err 3 'USAGE: check_pidfile pidfile procname [interpreter]'
440 # check_process procname [interpreter]
441 # Ensures that a process (or processes) named procname is running.
450 err 3 'USAGE: check_process procname [interpreter]'
456 # _find_processes procname interpreter psargs
457 # Search for procname in the output of ps generated by psargs.
460 # If interpreter == ".", check the following variations of procname
462 # procname
463 # `basename procname`
464 # `basename procname` + ":"
465 # "(" + `basename procname` + ")"
466 # "[" + `basename procname` + "]"
468 # If interpreter != ".", read the first line of procname, remove the
469 # leading #!, normalise whitespace, append procname, and attempt to
473 # tried as the prefix to procname.
478 err 3 'USAGE: _find_processes procname interpreter psargs'
927 # procname n Process name to check for instead of $command.
1135 _procname=${procname:-${command}}
1844 extra_commands pidfile procname \