Lines Matching refs:procname
249 # check_pidfile pidfile procname [interpreter]
251 # that the process is running and matches procname.
261 err 3 'USAGE: check_pidfile pidfile procname [interpreter]'
276 # check_process procname [interpreter]
277 # Ensures that a process (or processes) named procname is running.
286 err 3 'USAGE: check_process procname [interpreter]'
292 # _find_processes procname interpreter psargs
293 # Search for procname in the output of ps generated by psargs.
296 # If interpreter == ".", check the following variations of procname
298 # procname
299 # `basename procname`
300 # `basename procname` + ":"
301 # "(" + `basename procname` + ")"
302 # "[" + `basename procname` + "]"
304 # If interpreter != ".", read the first line of procname, remove the
305 # leading #!, normalise whitespace, append procname, and attempt to
309 # tried as the prefix to procname.
314 err 3 'USAGE: _find_processes procname interpreter psargs'
744 # procname n Process name to check for instead of $command.
939 _procname=${procname:-${command}}
1379 extra_commands pidfile procname \