Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 12 of 12) sorted by relevance

/redis-3.2.3/utils/
H A Dwhatisdoing.sh12 pid=$(ps auxww | grep '[r]edis-server' | awk '{print $2}')
16 gdb -ex "set pagination 0" -ex "thread apply all bt" -batch -p $pid
H A Dredis_init_script10 PIDFILE=/var/run/redis_${REDISPORT}.pid
/redis-3.2.3/src/
H A Dutil.c501 pid_t pid = getpid(); in getRandomHexChars() local
515 if (l >= sizeof(pid)) { in getRandomHexChars()
516 memcpy(x,&pid,sizeof(pid)); in getRandomHexChars()
517 l -= sizeof(pid); in getRandomHexChars()
518 x += sizeof(pid); in getRandomHexChars()
H A Dsentinel.c688 sj->pid = 0; in sentinelScheduleScriptExecution()
723 if ((sj->flags & SENTINEL_SCRIPT_RUNNING) && sj->pid == pid) in sentinelGetScriptListNodeByPid()
743 pid_t pid; in sentinelRunPendingScripts() local
754 pid = fork(); in sentinelRunPendingScripts()
756 if (pid == -1) { in sentinelRunPendingScripts()
763 sj->pid = 0; in sentinelRunPendingScripts()
764 } else if (pid == 0) { in sentinelRunPendingScripts()
771 sj->pid = pid; in sentinelRunPendingScripts()
797 pid_t pid; in sentinelCollectTerminatedScripts() local
823 sj->pid = 0; in sentinelCollectTerminatedScripts()
[all …]
H A Dserver.c326 pid_t pid = getpid(); in serverLogRaw() local
333 } else if (pid != server.pid) { in serverLogRaw()
1184 pid_t pid; in serverCron() local
1186 if ((pid = wait3(&statloc,WNOHANG,NULL)) != 0) { in serverCron()
1192 if (pid == -1) { in serverCron()
1198 } else if (pid == server.rdb_child_pid) { in serverCron()
1200 } else if (pid == server.aof_child_pid) { in serverCron()
1203 if (!ldbRemoveChild(pid)) { in serverCron()
1206 (long)pid); in serverCron()
1863 server.pid = getpid(); in initServer()
H A Dscripting.c1679 int ldbRemoveChild(pid_t pid) { in ldbRemoveChild() argument
1680 listNode *ln = listSearchKey(ldb.children,(void*)(unsigned long)pid); in ldbRemoveChild()
1701 pid_t pid = (unsigned long) ln->value; in ldbKillForkedSessions() local
1702 serverLog(LL_WARNING,"Killing debugging session %ld",(long)pid); in ldbKillForkedSessions()
1703 kill(pid,SIGKILL); in ldbKillForkedSessions()
H A Dserver.h706 pid_t pid; /* Main process pid. */ member
1461 int ldbRemoveChild(pid_t pid);
/redis-3.2.3/deps/hiredis/
H A DMakefile19 pidfile /tmp/hiredis-test-redis.pid
114 ( kill `cat /tmp/hiredis-test-redis.pid` && false )
115 kill `cat /tmp/hiredis-test-redis.pid`
/redis-3.2.3/tests/assets/
H A Ddefault.conf5 pidfile /var/run/redis.pid
/redis-3.2.3/
H A Dredis.conf150 pidfile /var/run/redis_6379.pid
/redis-3.2.3/deps/jemalloc/src/
H A Dprof.c1388 int pid = getpid(); in prof_dump_maps() local
1390 mfd = prof_open_maps("/proc/%d/task/%d/maps", pid, pid); in prof_dump_maps()
1392 mfd = prof_open_maps("/proc/%d/maps", pid); in prof_dump_maps()
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in3498 if (my $pid = fork()) {