Searched refs:pids (Results 1 - 25 of 50) sorted by relevance

12

/macosx-10.9.5/dtrace-118.1/DTTk/Bin/
H A Dpidpersec.d44 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 Dpidpersec.d44 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 Dlogfilter19 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 Dwatch_a_file.perl42 $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 Dtst.manypids.ksh30 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 Dlocal.ntpd49 my @pids;
59 push @pids, $1;
63 return @pids;
/macosx-10.9.5/BerkeleyDB-21/db/test/
H A Denv012.tcl78 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 Drep065.tcl142 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 Drep043.tcl138 set pids {}
145 lappend pids $pid
219 watch_procs $pids 1
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftpd/
H A Dpopen.c73 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 Dlmbench_lat_ctx.c95 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 Dtestlib.pl46 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 Dpopen.c54 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 Dproc_listpidspath.c35 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 DlibSystemConfiguration_server.c88 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 Dpipeline.c220 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 Dltop.c265 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 Dltop.c265 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 DLTdnlc.c296 int pids = 0; /* PID found status */ local
335 pids = 1;
345 pids = 0;
353 if (!pids)
H A DLTunix.c234 int pids = 0; /* PID found status */ local
271 pids = 1;
281 pids = 0;
289 if (!pids)
H A DLTbasic.c183 int pids = 0; /* PID found status */ local
288 pids = 1;
298 pids = 0;
305 if (!pids)
H A DLTnfs.c314 int pids = 0; /* PID found status */ local
379 pids = 1;
389 pids = 0;
397 if (!pids)
H A DLTnlink.c370 int pids = 0; /* PID found status */ local
421 pids = 1;
431 pids = 0;
439 if (!pids)
H A DLTszoff.c315 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 Dbasic.sh306 pids=$!
311 pids="$pids $!"
318 kill $pids

Completed in 357 milliseconds

12