process tbl

bruce badouglas at
Fri Nov 28 22:24:36 UTC 2014

Hey cameron..

thanks !  I discovered that the ps -ppid "parentID" would return the
list of child pids which works, but thanks..!

On Fri, Nov 28, 2014 at 3:36 PM, Cameron Simpson <cs at> wrote:
> On 28Nov2014 13:19, bruce <badouglas at> wrote:
>> A test app does a fork, creates children processes.
>> Is there a way to view the procTBL "ps" to be able to see that a
>> process is a "child" process?
>> I know you can see when a child has stopped, but the parent is still
>> running.. but is there a way to see if there are "running" children,
>> some attribute that denotes i'm a child?
>> Or, is there some attribute that denotes the process has running children?
> Every process has a parent process id (PPID), allowing you to deduce the
> parent-child relationships.
> The GNU ps "f" option will display the process tree with parent-child
> relationships.
> Cheers,
> Cameron Simpson <cs at>
> ERROR 155 - You can't do that.  - Data General S200 Fortran error code list
> --
> users mailing list
> users at
> To unsubscribe or change subscription options:
> Fedora Code of Conduct:
> Guidelines:
> Have a question? Ask away:

More information about the users mailing list