/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 224 (void) sprintf(file, "/proc/%d/fd", (int)Pstatus(P)->pr_pid); in Pfd_iter() 289 Pstatus(g_proc)->pr_pid, file, strerror(errno)); in fd_cb() 395 lsp->pr_lwpid, lsp->pr_syscall, Pstatus(g_proc)->pr_pid); in lwp_restart() 425 "process %d\n"), psp->pr_pid); in do_pnohup() 436 "disposition of SIGHUP for %d\n"), psp->pr_pid); in do_pnohup() 442 "by %d; use -a to force process to ignore\n"), psp->pr_pid); in do_pnohup() 448 "disposition of SIGQUIT for %d\n"), psp->pr_pid); in do_pnohup() 454 "by %d; use -a to force process to ignore\n"), psp->pr_pid); in do_pnohup() 462 "disposition of SIGHUP for %d\n"), psp->pr_pid); in do_pnohup() 468 "disposition of SIGQUIT for %d\n"), psp->pr_pid); in do_pnohup() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/demo/sched/ |
H A D | qtime.d | 28 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id] = 33 /ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id]/ 36 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id]); 37 ts[args[0]->pr_lwpid, args[1]->pr_pid, args[2]->cpu_id] = 0;
|
H A D | pritime.d | 35 /args[1]->pr_pid == $1 && args[0]->pr_lwpid == $2/
|
/illumos-gate/usr/src/cmd/latencytop/ |
H A D | latencytop.d | 96 lt_timestamps[curpsinfo->pr_pid, curlwpsinfo->pr_lwpid] = 0; 137 lt_timestamps[curpsinfo->pr_pid, curlwpsinfo->pr_lwpid] = 145 /lt_timestamps[args[1]->pr_pid, args[0]->pr_lwpid] != 0/ 147 lt_timestamps[args[1]->pr_pid, args[0]->pr_lwpid] = timestamp; 159 this->end = lt_timestamps[curpsinfo->pr_pid, curlwpsinfo->pr_lwpid]; 161 lt_timestamps[curpsinfo->pr_pid, curlwpsinfo->pr_lwpid] = 0; 277 /args[1]->pr_pid != 0 && 278 lt_timestamps[args[1]->pr_pid, args[0]->pr_lwpid] != 0/ 287 this->wtime = timestamp - lt_timestamps[args[1]->pr_pid, 290 @lt_sync_count[args[1]->pr_pid, args[0]->pr_lwpid, this->stype, [all …]
|
/illumos-gate/usr/src/cmd/plimit/ |
H A D | plimit.c | 482 command, Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit() 500 new_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in set_one_limit() 504 " %d: %s\n", command, Pstatus(Pr)->pr_pid, in set_one_limit() 523 old_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in set_one_limit() 529 Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit() 541 Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit() 553 command, Pstatus(Pr)->pr_pid, strerror(errno)); in set_one_limit() 569 command, Pstatus(Pr)->pr_pid); in set_one_limit() 576 command, Pstatus(Pr)->pr_pid); in set_one_limit()
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | priocntl.c | 607 itoa((long)prinfo.pr_pid, idstr); in set_procs() 864 if (idlist[i] == (id_t)prinfo.pr_pid) in ids2pids() 867 prinfo.pr_pid); in ids2pids() 876 prinfo.pr_pid); in ids2pids() 885 prinfo.pr_pid); in ids2pids() 894 prinfo.pr_pid); in ids2pids() 905 prinfo.pr_pid); in ids2pids() 914 prinfo.pr_pid); in ids2pids() 923 prinfo.pr_pid); in ids2pids() 932 prinfo.pr_pid); in ids2pids() [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore_linux.h | 40 int32_t pr_pid; /* Process ID */ member 56 int32_t pr_pid; /* Process ID */ member 136 int32_t pr_pid; /* Process ID */ member 153 int32_t pr_pid; /* Process ID */ member
|
H A D | proc_arg.c | 165 return (Pgrab(psinfo.pr_pid, gflag, in proc_grab_common() 207 return (Pgrab(psinfo.pr_pid, gflag, perr)); in proc_grab_common() 267 return (psp->pr_pid); in proc_arg_psinfo() 282 return (psp->pr_pid); in proc_arg_xpsinfo()
|
H A D | P32ton.c | 346 dst->pr_pid = src->pr_pid; in pstatus_32_to_n() 410 dst->pr_pid = src->pr_pid; in psinfo_32_to_n() 719 dst->pr_pid = (pid32_t)src->pr_pid; in pstatus_n_to_32() 783 dst->pr_pid = (pid32_t)src->pr_pid; in psinfo_n_to_32()
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 179 (void) printf("%s%d", g_delim, (int)psinfo->pr_pid); in print_proc() 181 (void) printf("%d", (int)psinfo->pr_pid); in print_proc() 230 (void) printf("%s%5d %s", g_delim, (int)psinfo->pr_pid, name); in print_proc_long() 232 (void) printf("%5d %s", (int)psinfo->pr_pid, name); in print_proc_long() 240 if (psinfo->pr_pid > 0 && kill(psinfo->pr_pid, g_signal) == -1) in kill_proc() 242 (int)psinfo->pr_pid); in kill_proc() 306 (ps.pr_nlwp != 0) && (ps.pr_pid != g_pid) && in scan_proc_dir()
|
/illumos-gate/usr/src/cmd/ptools/prun/ |
H A D | prun.c | 85 (void) kill(Pstatus(P)->pr_pid, SIGCONT); in start() 159 command, (int)Pstatus(P)->pr_pid, in lwpstart()
|
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 149 (void) printf("%d:\t<defunct>\n\n", (int)psinfo.pr_pid); in look() 162 (void) printf("%d:\t<defunct>\n\n", (int)psinfo.pr_pid); in look() 176 arg, (int)psinfo.pr_pid, psinfo.pr_psargs); in look() 179 (int)psinfo.pr_pid, psinfo.pr_psargs); in look() 344 (int)ps.pr_pid, ps.pr_psargs, t); in lwplook()
|
/illumos-gate/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 125 arg, (int)psinfo.pr_pid, psinfo.pr_psargs); in main() 128 (int)psinfo.pr_pid, psinfo.pr_psargs); in main()
|
/illumos-gate/usr/src/cmd/prctl/ |
H A D | prctl.c | 1755 new_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in prctl_setrctl() 1758 "for pid %d: %s"), Pstatus(Pr)->pr_pid, in prctl_setrctl() 1776 old_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid); in prctl_setrctl() 1780 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl() 1790 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl() 1807 proc_get_psinfo(Pstatus(Pr)->pr_pid, &psinfo) == 0 && in prctl_setrctl() 1820 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl() 1845 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl() 1853 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl() 1862 Pstatus(Pr)->pr_pid, strerror(errno)); in prctl_setrctl() [all …]
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 78 pid = Pstatus(Pr)->pr_pid; in ptime_pid() 162 pid = Pstatus(Pr)->pr_pid; in main() 229 (int)psinfo.pr_pid, psinfo.pr_psargs); in look()
|
/illumos-gate/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 419 strerror(errno), (int)Pstatus(Pr)->pr_pid); in setpgsz() 460 pgsz = discover_optimal_pagesize(Pr, dmodel, psinfo->pr_pid); in setpgsz_anon() 464 (void) snprintf(path, PATH_MAX, "/proc/%d/map", (int)psinfo->pr_pid); in setpgsz_anon() 527 (int)psinfo->pr_pid, (void *)map.pr_vaddr); in setpgsz_anon()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | struct_layout.h | 189 sl_field_t pr_pid; member 231 sl_field_t pr_pid; member 263 sl_field_t pr_pid; member 308 sl_field_t pr_pid; member
|
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap_common.c | 92 (int)Psp->pr_pid, mapname); in make_name() 101 "/proc/%d/object/%s", (int)Psp->pr_pid, mapname); in make_name()
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | old_procfs.h | 183 pid_t pr_pid; /* Process id */ member 255 pid_t pr_pid; /* unique process id */ member 487 pid32_t pr_pid; /* Process id */ member 520 pid32_t pr_pid; /* unique process id */ member
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | old_procfs.h | 182 pid_t pr_pid; /* Process id */ member 254 pid_t pr_pid; /* unique process id */ member 486 pid32_t pr_pid; /* Process id */ member 519 pid32_t pr_pid; /* unique process id */ member
|
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 85 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_has_jump_table() 130 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_return_probe() 282 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_offset_probe() 356 pid_t pid = Pstatus(P)->pr_pid; in dt_pid_create_glob_offset_probes()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.d | 30 /pid == 0 && args[1]->pr_pid == $1 && args[2] == SIGUSR1/
|
/illumos-gate/usr/src/cmd/newtask/ |
H A D | newtask.c | 528 old_prpriv = proc_get_priv(Pstatus(p)->pr_pid); in set_ids() 586 passwd_entry->pw_name, 0, Pstatus(p)->pr_pid, p, project)) != 0) { in set_ids() 609 Pstatus(p)->pr_pid); in set_ids() 615 Pstatus(p)->pr_pid); in set_ids()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/sched/ |
H A D | tst.enqueue.d | 31 /pid == 0 && args[1]->pr_pid == $pid/
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/builtinvar/ |
H A D | tst.psinfo1.d | 39 printf("unique process id = %d\n", curpsinfo->pr_pid);
|