DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

parent - Display the parent of the given process

SYNOPSIS

parent address

DESCRIPTION

The parent macro takes one argument, the address of a process. It displays the 'ps' information of the parent process and sets up the nx command to print the parent-of-the-parent, and so on.

Typical output looks like this:


  S> parent *curproc
  D1298A00 03830 03828 00000 00102010 - - - D129F400 SLP su
  S> nx
  D1290600 03828 00001 00103 00502010 - - -          RUN /usr/X/bin/uterm
  S> nx
  D11C4C00 00001 00000 00000 00102010 - - - E0004000 SLP /sbin/init
  S> nx
  D104BC00 00000 00000 00000 00002039 - - - D0280A92 SLP sched
  S> nx
  No Parent

DEFINED IN

proc.k

SEE ALSO

child, children, proc, ps, sibs

APPENDIX A: Alphabetic Index of Macros