Searched refs:pid (Results 1 – 12 of 12) sorted by relevance
| /memcached-1.6.32/ |
| D | timedrun.c | 18 static int wait_for_process(pid_t pid) in wait_for_process() argument 38 pid_t p = waitpid(pid, &status, 0); in wait_for_process() 39 if (p == pid) { in wait_for_process() 51 if (kill(pid, sig) < 0) { in wait_for_process() 72 if (kill(pid, sig) < 0) { in wait_for_process() 86 pid_t pid = fork(); in spawn_and_wait() local 88 switch (pid) { in spawn_and_wait() 99 rv = wait_for_process(pid); in spawn_and_wait()
|
| D | testapp.c | 518 pid_t pid = fork(); in start_server() local 519 assert(pid != -1); in start_server() 520 if (pid == 0) { in start_server() 629 pid = (pid_t)val; in start_server() 632 return pid; in start_server() 637 pid_t pid = start_server(&port, true, 600); in test_issue_44() local 638 assert(kill(pid, SIGHUP) == 0); in test_issue_44() 640 assert(kill(pid, SIGTERM) == 0); in test_issue_44()
|
| D | memcached.spec.in | 112 # pid directory
|
| D | memcached.c | 1771 pid_t pid = getpid(); in server_stats() local 1785 APPEND_STAT("pid", "%lu", (long)pid); in server_stats() 4231 unsigned int pid; local 4232 if (safe_strtoul(buffer, &pid) && kill((pid_t)pid, 0) == 0) { 4233 … fprintf(stderr, "WARNING: The pid file contained the following (running) pid: %u\n", pid);
|
| /memcached-1.6.32/scripts/ |
| D | start-memcached | 105 my $pid = fork(); 107 if($pid == 0) 113 $pid = fork(); 114 if ($pid) { 117 print PIDHANDLE $pid;
|
| D | memcached.sysv | 34 …cached -d -p $PORT -u $USER -m $CACHESIZE -c $MAXCONN -P /var/run/memcached/memcached.pid $OPTIONS 46 rm -f /var/run/memcached/memcached.pid
|
| D | memcached-server.upstart | 25 exec /usr/share/memcached/scripts/start-memcached /etc/${name}.conf /var/run/${name}.pid
|
| /memcached-1.6.32/t/lib/ |
| D | MemcachedTest.pm | 405 return Memcached::Handle->new(pid => $childpid, 433 if ($self->{pid}) { 434 kill 2, $self->{pid}; 442 if ($self->{pid}) { 443 kill 15, $self->{pid}; 451 if ($self->{pid}) { 452 kill 'SIGUSR1', $self->{pid}; 460 if ($self->{pid}) { 461 kill 'SIGHUP', $self->{pid}; 470 if ($self->{pid}) { [all …]
|
| /memcached-1.6.32/t/ |
| D | daemonize.t | 28 is($stats->{pid}, $readpid, "memcached reports same pid as file");
|
| D | issue_67.t | 75 return Memcached::Handle->new(pid => $childpid);
|
| /memcached-1.6.32/doc/ |
| D | protocol-binary.txt | 1664 Key : The textual string "pid"
|
| D | protocol.txt | 1302 | pid | 32u | Process id of this server process |
|