Lines Matching refs:proc
236 set $proc = allproc.lh_first
238 set $pptr = $proc.p_pptr
239 if ($proc->p_pid == $arg0)
240 set $pcba = $proc->p_threads.tqh_first->td_pcb
245 set $aproc = $proc.p_list.le_next
249 set $proc = $aproc
280 set $proc = allproc.lh_first
282 if ($proc->p_pid == $arg0)
283 btr $proc->p_threads.tqh_first->td_pcb->pcb_ebp
286 set $aproc = $proc.p_list.le_next
290 set $proc = $aproc
303 set $proc = allproc.lh_first
304 printf " pid proc uid ppid pgrp flag stat comm wchan\n"
306 set $pptr = $proc.p_pptr
308 set $pptr = $proc
310 if ($proc.p_stat)
312 $proc.p_pid, $aproc, \
313 $proc.p_cred->p_ruid, $pptr->p_pid, \
314 $proc.p_pgrp->pg_id, $proc.p_flag, $proc.p_stat, \
315 &$proc.p_comm[0]
316 if ($proc.p_wchan)
317 if ($proc.p_wmesg)
318 printf "%s ", $proc.p_wmesg
320 printf "%x", $proc.p_wchan
323 if ($proc->p_flag & 4)
324 btr $proc->p_threads.tqh_first->td_pcb->pcb_ebp
329 set $aproc = $proc.p_list.le_next
333 set $proc = $aproc