Lines Matching refs:procname
424 # check_pidfile pidfile procname [interpreter]
426 # that the process is running and matches procname.
436 err 3 'USAGE: check_pidfile pidfile procname [interpreter]'
451 # check_process procname [interpreter]
452 # Ensures that a process (or processes) named procname is running.
461 err 3 'USAGE: check_process procname [interpreter]'
467 # _find_processes procname interpreter psargs
468 # Search for procname in the output of ps generated by psargs.
471 # If interpreter == ".", check the following variations of procname
473 # procname
474 # `basename procname`
475 # `basename procname` + ":"
476 # "(" + `basename procname` + ")"
477 # "[" + `basename procname` + "]"
479 # If interpreter != ".", read the first line of procname, remove the
480 # leading #!, normalise whitespace, append procname, and attempt to
484 # tried as the prefix to procname.
489 err 3 'USAGE: _find_processes procname interpreter psargs'
928 # procname n Process name to check for instead of $command.
1139 _procname=${procname:-${command}}
1866 extra_commands pidfile procname \