Lines Matching defs:psinfo
176 print_proc(psinfo_t *psinfo)
179 (void) printf("%s%d", g_delim, (int)psinfo->pr_pid);
181 (void) printf("%d", (int)psinfo->pr_pid);
220 print_proc_long(psinfo_t *psinfo)
225 name = mbstrip(psinfo->pr_psargs, PRARGSZ);
227 name = psinfo->pr_fname;
230 (void) printf("%s%5d %s", g_delim, (int)psinfo->pr_pid, name);
232 (void) printf("%5d %s", (int)psinfo->pr_pid, name);
238 kill_proc(psinfo_t *psinfo)
240 if (psinfo->pr_pid > 0 && kill(psinfo->pr_pid, g_signal) == -1)
242 (int)psinfo->pr_pid);
299 (void) snprintf(procpath, sizeof (procpath), "%s/%s/psinfo",