Searched refs:pid (Results 1 - 16 of 16) sorted by relevance

/pkg/src/modules/
H A Dsearch_errors.py53 def __init__(self, hostname=None, pid=None):
56 self.pid = pid
59 if self.pid is not None:
63 "pid {pid} on {host}.").format(
64 pid=self.pid, host=self.hostname)
H A Dlockfile.py224 pid, pid_name, hostname, lock_ts = lockstr.split(b"\n", 4)
225 lockdict["pid"] = pid
241 pid, hostname, lock_ts = lockstr.split(b"\n", 3)
242 lock_dict["pid"] = pid
H A Dpspawn.py158 pid = ffi.new("pid_t *")
186 rc = lib.posix_spawnp(pid, filename.encode(), s_action, ffi.NULL,
190 return pid[0]
H A Dpkgsubprocess.py162 self.pid = posix_spawnp(executable, args, sfa, env)
281 self.pid = posix_spawnp(executable, args, sfa,
H A Ddepotcontroller.py507 os.kill(self.__depot_handle.pid, signal.SIGUSR1)
530 os.kill(-1 * self.__depot_handle.pid,
/pkg/src/svc/
H A Dsvc-pkg-sysrepo-cache66 -P ${SYSREPO_CACHE_DIR}/../sysrepo_htcacheclean.pid \
73 if [ -f ${SYSREPO_CACHE_DIR}/../sysrepo_htcacheclean.pid ]; then
74 PID=$(< ${SYSREPO_CACHE_DIR}/../sysrepo_htcacheclean.pid)
75 echo "Previous htcacheclean pid file found - killing process $PID"
H A Dsvc-pkg-depot165 -P ${depot_cache_dir}/../depot_htcacheclean.pid \
172 pid_file=$(abspath ${depot_cache_dir}/../depot_htcacheclean.pid)
183 # just the pid, then child httpd processes become zombies,
190 pid_file=$(abspath ${depot_runtime_dir}/../depot_httpd.pid)
H A Dsvc-pkg-mirror255 pid=$(<$lockfile)
257 under process $pid when the cron job fired. Remove $lockfile to
262 # write our pid into the lock file
500 # /var/log/pkg/mirror/mirror.<instance>.run.<pid>
/pkg/src/tests/perf/
H A Dmembench.py63 pid = os.fork()
64 if pid == 0:
/pkg/src/zoneproxy/zoneproxy-client/
H A Dzoneproxy-client.c298 pid_t pid; local
308 if ((pid = fork1()) < 0)
311 if (pid != 0) {
321 (void) wait4(pid, &status, 0, NULL);
/pkg/src/zoneproxy/zoneproxyd/
H A Dzoneproxyd.c1138 int pid, stat, tmpl_fd; local
1164 pid = fork1();
1165 if (pid < 0) {
1173 if (pid == 0) {
1195 while (waitpid(pid, &stat, 0) != pid)
1612 pid_t pid; local
1628 if ((pid = fork1()) < 0)
1631 if (pid != 0) {
1644 (void) wait4(pid,
[all...]
/pkg/src/tests/api/
H A Dt_async_rpc.py242 os.kill(server_proc.pid, signal.SIGKILL)
/pkg/src/modules/client/
H A Dapi_errors.py113 def __init__(self, hostname=None, pid=None, pid_name=None):
116 self.pid = pid
120 if self.pid is not None and self.pid_name is not None and \
124 "{pid_name} on {host}, pid {pid}.").format(
125 pid_name=self.pid_name, pid=self.pid,
127 if self.pid is not None and self.pid_name is not None:
130 "{pid_name} on an unknown host, pid {pi
[all...]
H A Dplandesc.py946 pid = None
949 pid = item_id
954 yield([iid, pid] + \
/pkg/src/modules/server/
H A Drepository.py215 def __init__(self, hostname=None, pid=None):
218 self.pid = pid
221 if self.pid is not None:
225 "pid {pid} on {host}.").format(
226 pid=self.pid, host=self.hostname)
/pkg/src/tests/
H A Dpkg5unittest.py398 pid,fd = pty.fork()
399 if pid == 0:
415 waitedpid, retcode = os.waitpid(pid, 0)
1817 p, p_dict[p].pid, started_tests[p][0],
1875 # down which has a pid file; retry.
2021 str(p_dict[i].pid)
3816 self.pidfile = os.path.join(self.apache_dir, "httpd.pid")
4553 os.kill(-1 * self.__repo_hdl.pid,

Completed in 283 milliseconds