Subject: Re: killpg: well, something's not right...
To: Gandhi woulda smacked you <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
Date: 04/07/1999 23:15:06
>A couple of things: I notice that there is no 'pgrp' field in ps
>by which to display pgrps. I can't even tell which pgrp it's
> ps j
USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND
andrew 21763 21760 21763 9bd7e0 0 Ss p0 0:00.76 -tcsh (tcsh)
andrew 21824 21763 21824 9bd7e0 1 T p0 0:01.56 mutt -f=IN.netbsd.cur
andrew 21854 21824 21824 9bd7e0 1 T p0 0:00.01 sh -c emacs -nw '/hom
andrew 21855 21854 21824 9bd7e0 1 T p0 0:01.11 emacs -nw /home/andre
andrew 21857 21763 21857 9bd7e0 1 R+ p0 0:00.01 ps -j
tcsh is in its own process group, mutt (and children) are in theirs,
and ps is in a third (since i had to suspend mutt to get some sample
tcsh takes care of all of this as a matter of job control. :)
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."