/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | svc-scheduler | 56 /usr/bin/priocntl -s -c $DEFAULT_SCHEDULER -i pid 1
|
/illumos-gate/usr/src/cmd/dtrace/demo/sched/ |
H A D | firebird.d | 38 @[args[1]->pr_pid, args[0]->pr_lwpid, pid, curlwpsinfo->pr_lwpid] =
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/ |
H A D | tst.InlineKinds.d | 39 inline int i2 = pid != 0; /* expression involving a variable */
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/ |
H A D | tst.call.d | 38 pid$1:a.out:waiting:entry
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.egid.ksh | 82 groupid=`ps -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null` 84 print -u2 "unable to get uid of the current process with pid = $$"
|
H A D | tst.euid.ksh | 72 userid=`ps -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null` 74 print -u2 "unable to get uid of the current process with pid = $$"
|
H A D | tst.gid.ksh | 72 groupid=`ps -o pid,gid | grep "$$ " | awk '{print $2}' 2>/dev/null` 74 print -u2 "unable to get uid of the current process with pid = $$"
|
H A D | tst.projid.ksh | 72 projectid=`ps -o pid,projid | grep "$$ " | awk '{print $2}' 2>/dev/null` 74 print -u2 "unable to get uid of the current process with pid = $$"
|
H A D | tst.sid.ksh | 72 sessionid=`ps -o pid,sid | grep "$$ " | awk '{print $2}' 2>/dev/null` 74 print -u2 "unable to get sid of the current process with pid = $$"
|
H A D | tst.taskid.ksh | 72 taskidval=`ps -o pid,taskid | grep "$$ " | awk '{print $2}' 2>/dev/null` 74 print -u2 "unable to get uid of the current process with pid = $$"
|
H A D | tst.uid.ksh | 72 userid=`ps -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null` 74 print -u2 "unable to get uid of the current process with pid = $$"
|
/illumos-gate/usr/src/cmd/avs/dsw/etc/ |
H A D | ii.sh | 46 for pid in `pgrep dscfgadm` 48 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
|
/illumos-gate/usr/src/cmd/avs/sv/etc/ |
H A D | sv.sh | 50 for pid in `pgrep dscfgadm` 52 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | ulockf.c | 66 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ local 73 if (pid[0] == '\0') { 74 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long) getpid()); 85 if (onelock(pid, tempfile, name) == -1) { 90 if (onelock(pid, tempfile, name)) { 104 * - use kill(pid,0) 140 DEBUG(4, "kill pid (%ld), ", (long) lpid); 287 * makes a lock on behalf of pid. 289 * pid - process id 297 onelock(pid,tempfil [all...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | prbk.c | 46 pid_t pid; member in struct:_pidlist 184 * Add the given pid (new) to the pidlist (pl). 194 gettext("Out of memory -- can't process pid %d\n"), 199 npl->pid = new; 205 * For each pid, check whether it's already in the filter list, 218 err = tnfctl_filter_list_add(g_hndl, ppl->pid); 221 ppl->pid, tnfctl_strerror(err)); 231 * For each pid, complain if it's not in the process filter list; 247 err = tnfctl_filter_list_delete(g_hndl, tmp->pid); 254 tmp->pid); [all...] |
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 65 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ local 72 if (pid[0] == '\0') { 73 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long) getpid()); 84 if (onelock(pid, tempfile, name) == -1) { 89 if (onelock(pid, tempfile, name)) { 103 * - use kill(pid,0) 139 DEBUG(4, "kill pid (%ld), ", (long) lpid); 286 * makes a lock on behalf of pid. 288 * pid - process id 296 onelock(pid,tempfil [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/ |
H A D | cache.kshlib | 61 typeset pid=$! 66 kill -9 $pid
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog.kshlib | 62 typeset pid=$! 67 kill -9 $pid
|
/illumos-gate/usr/src/cmd/plockstat/ |
H A D | plockstat.c | 370 "\t -p pid\n", g_pname, g_pname); 545 pid_t pid; local 589 pid = stack[0]; 590 P = dtrace_proc_grab(g_dtp, pid, PGRAB_RDONLY); 659 int pid = Pstatus(P)->pr_pid; local 663 notice("pid %d: %s\n", pid, msg); 678 notice("pid %d terminated by %s\n", pid, 682 notice("pid 925 ulong_t pid; local [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | under.c | 50 int child = 0; /* pid of the executed process */ 191 int pid, child, status; local 196 pid = fork(); 197 if (pid == -1) 199 if (pid == 0) 214 while ((child = wait(&status)) != pid && child != -1)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | main.c | 103 pid_t pid; local 112 if ((pid = fork()) == (pid_t)-1) { 116 if (pid != 0) { 124 if ((pid = fork()) == (pid_t)-1) { 128 if (pid != 0)
|
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mddoors.c | 174 pid_t pid; local 194 pid = fork(); 195 if (pid < 0) { 200 if (pid) { 208 if ((pid = enter_daemon_lock()) != getpid()) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | edit.c | 96 pid_t pid; local 171 pid = vfork(); 172 if (pid == (pid_t)-1) { 177 if (pid == 0) { 187 while (wait(&mesg) != pid)
|
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 80 int pid; local 203 pid = fork(); 204 if (pid < 0) 209 if (pid == 0) 235 (void) kill(pid, SIGTERM);
|
/illumos-gate/usr/src/cmd/login/ |
H A D | login_audit.c | 123 pid_t pid; local 144 if ((pid = fork()) == 0) { 151 if (pid == -1) { 191 while (pid != waitpid(pid, &status, 0))
|