/macosx-10.9.5/dtrace-118.1/DTTk/Bin/ |
H A D | pidpersec.d | 44 pids = 0; 49 pids++; 54 printf("%-22Y %8d %6d\n", walltimestamp, -1, pids); /* xnu`nextpid is not exported. */ 55 pids = 0;
|
/macosx-10.9.5/dtrace-118.1/DTTk/Proc/ |
H A D | pidpersec.d | 44 pids = 0; 49 pids++; 54 printf("%-22Y %8d %6d\n", walltimestamp, -1, pids); /* xnu`nextpid is not exported. */ 55 pids = 0;
|
/macosx-10.9.5/rsync-42/rsync/support/ |
H A D | logfilter | 19 my %pids; 27 $pids{$pid} = 1; 29 delete $pids{$pid}; 32 next unless $pids{$pid};
|
/macosx-10.9.5/lsof-52/lsof/scripts/ |
H A D | watch_a_file.perl | 42 $pids = ""; 48 if ($pids eq "") { $pids = $curpid; } 49 else { $pids = $pids . "," . $curpid; } 56 if ($pids eq "") { die "$Pn: no processes using $fnm located.\n"; } 57 print "watch_file: $fnm being used by processes:\n\t$pids\n\n"; 61 $pipe = "$LSOF -ap $pids -r $RPT $fnm";
|
/macosx-10.9.5/dtrace-118.1/test/tst/common/pid/ |
H A D | tst.manypids.ksh | 30 set -A pids 46 pids[$i]=$! 58 # echo "pid${pids[$i]}::malloc:entry\n{}\n" >> $tmpfile 59 echo "pid${pids[$i]}::malloc:entry{}" >> $tmpfile
|
/macosx-10.9.5/ntp-88/scripts/rc2/ |
H A D | local.ntpd | 49 my @pids; 59 push @pids, $1; 63 return @pids;
|
/macosx-10.9.5/BerkeleyDB-21/db/test/ |
H A D | env012.tcl | 78 set pids {} 82 lappend pids $p1 86 set pids [findprocessids $testdir $pids] 87 foreach pid $pids { 110 set pids {} 114 lappend pids $p1 118 set pids [findprocessids $testdir $pids] 119 foreach pid $pids { [all...] |
H A D | rep065.tcl | 142 set pids {} 174 lappend pids [exec $tclsh_path $test_path/wrap.tcl \ 182 lappend pids [exec $tclsh_path $test_path/wrap.tcl \ 192 watch_procs $pids 20 211 set pids {} 219 lappend pids [exec $tclsh_path $test_path/wrap.tcl \ 229 watch_procs $pids 10
|
H A D | rep043.tcl | 138 set pids {} 145 lappend pids $pid 219 watch_procs $pids 1
|
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/ |
H A D | popen.c | 73 static int *pids; variable 112 if (!pids) { 120 pids = (int*)calloc(fds, sizeof(int)); 121 if(!pids) 198 pids[fileno(iop)] = pid; 219 if (pids == 0 || pids[fdes = fileno(iop)] == 0) 227 while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR) 230 pids[fdes] = 0;
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_ctx.c | 95 pid_t* pids; member in struct:__anon15572 104 int create_daemons(int **p, pid_t *pids, int procs, int process_size); 280 create_daemons(int **p, pid_t *pids, int procs, int process_size) argument 293 switch (pids[i] = fork()) { 347 pState->pids = NULL; 393 for (i = 1; pState->pids && i < pState->procs; ++i) { 394 if (pState->pids[i] > 0) { 395 kill(pState->pids[i], SIGKILL); 396 waitpid(pState->pids[i], NULL, 0); 399 if (pState->pids) [all...] |
/macosx-10.9.5/CPANInternal-140/IO-Socket-SSL/t/ |
H A D | testlib.pl | 46 my @pids; 49 kill $sig, @pids; 50 #diag( "killed @pids with $sig" ); 52 @pids = (); 80 push @pids,$pid;
|
/macosx-10.9.5/cron-39/cron/ |
H A D | popen.c | 54 static PID_T *pids; variable 84 if (!pids) { 87 if (!(pids = (PID_T *)malloc((u_int)(fds * sizeof(PID_T))))) 89 bzero((char *)pids, fds * sizeof(PID_T)); 274 pids[fileno(iop)] = pid; 299 if (pids == 0 || pids[fdes = fileno(iop)] == 0) 303 while ((pid = wait(&stat_loc)) != pids[fdes] && pid != -1) 306 pids[fdes] = 0;
|
/macosx-10.9.5/xnu-2422.115.4/libsyscall/wrappers/libproc/ |
H A D | proc_listpidspath.c | 35 int *pids; member in struct:__anon15196 71 info->pids = NULL; 105 if (info->pids != NULL) { 106 free(info->pids); 552 if (info->pids == NULL) { 553 info->pids = malloc(info->pids_size); 555 info->pids = reallocf(info->pids, info->pids_size); 557 if (info->pids == NULL) { 562 buf_used = proc_listpids(type, typeinfo, info->pids, inf [all...] |
/macosx-10.9.5/configd-596.15/libSystemConfiguration/ |
H A D | libSystemConfiguration_server.c | 88 static CFMutableArrayRef pids = NULL; local 92 pids = CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks); 99 if (!CFArrayContainsValue(pids, CFRangeMake(0, CFArrayGetCount(pids)), pidNumber)) { 100 CFArrayAppendValue(pids, pidNumber); 107 CFArrayRemoveAllValues(pids);
|
/macosx-10.9.5/groff-38/groff/src/roff/groff/ |
H A D | pipeline.c | 220 PID_T pids[MAX_COMMANDS]; local 312 pids[i] = pid; 332 pid = pids[i]; 451 PID_T pids[MAX_COMMANDS]; local 502 pids[i] = pid; 511 if (pids[i] == pid) { 512 pids[i] = -1; 530 if (pids[j] > 0) 531 (void)kill(pids[j], SIGPIPE);
|
/macosx-10.9.5/system_cmds-597.90.1/ltop.tproj/ |
H A D | ltop.c | 265 pid_t *pids; local 274 pids = (pid_t *)malloc(sz); 275 if (pids == NULL) { 281 cnt = proc_listallpids(pids, sz); 283 perror("failed to get list of active pids"); 286 qsort(pids, cnt, sizeof (pid_t), pid_compare); 288 pids[0] = pid; 292 get_proc_info(pids[i]); 293 free(pids);
|
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/ltop.tproj/ |
H A D | ltop.c | 265 pid_t *pids; local 274 pids = (pid_t *)malloc(sz); 275 if (pids == NULL) { 281 cnt = proc_listallpids(pids, sz); 283 perror("failed to get list of active pids"); 286 qsort(pids, cnt, sizeof (pid_t), pid_compare); 288 pids[0] = pid; 292 get_proc_info(pids[i]); 293 free(pids);
|
/macosx-10.9.5/lsof-52/lsof/tests/ |
H A D | LTdnlc.c | 296 int pids = 0; /* PID found status */ local 335 pids = 1; 345 pids = 0; 353 if (!pids)
|
H A D | LTunix.c | 234 int pids = 0; /* PID found status */ local 271 pids = 1; 281 pids = 0; 289 if (!pids)
|
H A D | LTbasic.c | 183 int pids = 0; /* PID found status */ local 288 pids = 1; 298 pids = 0; 305 if (!pids)
|
H A D | LTnfs.c | 314 int pids = 0; /* PID found status */ local 379 pids = 1; 389 pids = 0; 397 if (!pids)
|
H A D | LTnlink.c | 370 int pids = 0; /* PID found status */ local 421 pids = 1; 431 pids = 0; 439 if (!pids)
|
H A D | LTszoff.c | 315 int pids = 0; /* PID found status */ local 395 pids = 1; 405 pids = 0; 413 if (!pids)
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/tests/ |
H A D | basic.sh | 306 pids=$! 311 pids="$pids $!" 318 kill $pids
|