DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

child - Display the children and siblings of the process

SYNOPSIS

child address
children address

DESCRIPTION

The child and children macros both display the immediate descendents of a given process.

The children macro produces a ps list for all the processes whose parent is the given process.

The child macro lists the same child processes, but does so interactively. It does this by listing the first child process, then calling the sibs macro on that child to step through all the remaining children (if any).

Typical output looks like this:


S> children D14A7800
D1647A00 01058 01031 00000 01102010 - - - E0004000 SLP /usr/lib/saf/ttymon 
D15F3600 01055 01031 00000 03102010 - - - D0272E74 SLP /usr/lib/saf/listen tcp 
D1607000 01053 01031 00000 00502010 - - - E0004000 SLP /usr/sbin/inetd 

S> child D14A7800
D1647A00 01058 01031 00000 01102010 - - - E0004000 SLP /usr/lib/saf/ttymon 
S> sibs
D15F3600 01055 01031 00000 03102010 - - - D0272E74 SLP /usr/lib/saf/listen tcp 
S> nx
D1607000 01053 01031 00000 00502010 - - - E0004000 SLP /usr/sbin/inetd 
End Of List

DEFINED IN

proc.k

SEE ALSO

sibs, parent, proc, ps

APPENDIX A: Alphabetic Index of Macros