Searched refs:pid (Results 276 - 300 of 920) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/dispadmin/
H A Dsvc-scheduler56 /usr/bin/priocntl -s -c $DEFAULT_SCHEDULER -i pid 1
/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dfirebird.d38 @[args[1]->pr_pid, args[0]->pr_lwpid, pid, curlwpsinfo->pr_lwpid] =
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/
H A Dtst.InlineKinds.d39 inline int i2 = pid != 0; /* expression involving a variable */
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.d38 pid$1:a.out:waiting:entry
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scripting/
H A Dtst.egid.ksh82 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 Dtst.euid.ksh72 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 Dtst.gid.ksh72 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 Dtst.projid.ksh72 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 Dtst.sid.ksh72 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 Dtst.taskid.ksh72 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 Dtst.uid.ksh72 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 Dii.sh46 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 Dsv.sh50 for pid in `pgrep dscfgadm`
52 if [ `grep -c $pid $DSCFG_DEPEND_NOCHK` -gt 0 ]
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c66 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 Dprbk.c46 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 Dulockf.c65 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 Dcache.kshlib61 typeset pid=$!
66 kill -9 $pid
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog.kshlib62 typeset pid=$!
67 kill -9 $pid
/illumos-gate/usr/src/cmd/plockstat/
H A Dplockstat.c370 "\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 Dunder.c50 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 Dmain.c103 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 Dmddoors.c174 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 Dedit.c96 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 Dmconnect.c80 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 Dlogin_audit.c123 pid_t pid; local
144 if ((pid = fork()) == 0) {
151 if (pid == -1) {
191 while (pid != waitpid(pid, &status, 0))

Completed in 116 milliseconds

<<11121314151617181920>>