Home
last modified time | relevance | path

Searched refs:ppid (Results 1 – 2 of 2) sorted by relevance

/unit/test/
H A Dtest_respawn.py24 def pid_by_name(self, name, ppid): argument
26 m = re.search(r'\s*(\d+)\s*' + str(ppid) + r'.*' + name, output)
43 def find_proc(self, name, ppid, ps_output): argument
44 return re.findall(str(ppid) + r'.*' + name, ps_output)
/unit/src/
H A Dnxt_main_process.c606 nxt_pid_t pid, ppid; in nxt_main_process_whoami_handler() local
620 nxt_memcpy(&ppid, msg->buf->mem.pos, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
624 pprocess = nxt_runtime_process_find(rt, ppid); in nxt_main_process_whoami_handler()
626 nxt_alert(task, "whoami: parent process %PI not found", ppid); in nxt_main_process_whoami_handler()
632 nxt_debug(task, "whoami: from %PI, parent %PI, fd %d", pid, ppid, in nxt_main_process_whoami_handler()
661 if (ppid != nxt_pid) { in nxt_main_process_whoami_handler()