Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2001 18:11:49 -0800
From:      Forrest <praxis@techpraxis.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Ps(1) command on FreeBSD --> parent-child view =?ISO-8859-1?B?vw==?=
Message-ID:  <B6DBFC65.2778%praxis@techpraxis.com>

next in thread | raw e-mail | index | archive | help
Is there an option on FreeBSD's ps(1) command like this

Root#  ps -axf

Which would give out a "parent-child" view of process inheritance? Like
this:

root     14452  0.0  0.4  2560 1124 ?        S    16:35   0:00 smbd -D
root     14609  0.0  0.6  3856 1576 ?        S    17:34   0:00  \_ smbd -D
root     14462  0.0  0.4  2116 1180 ?        S    16:35   0:00 nmbd -D
root     14468  0.0  0.3  2148 1016 ?        S    16:35   0:00  \_ nmbd -D

Rather than the FreeBSD version which looks like this:

root     14452  0.0  0.4  2560 1124 ?        S    16:35   0:00 smbd -D
root     14609  0.0  0.6  3856 1576 ?        S    17:34   0:00 smbd -D
root     14462  0.0  0.4  2116 1180 ?        S    16:35   0:00 nmbd -D
root     14468  0.0  0.3  2148 1016 ?        S    16:35   0:00 nmbd -D


On some implementations of Unix, this option is obtained with the --forest
option... On Linux systems, now, it is obtainable with the -f switch.

Any one know this one?


Thanks
Forrest


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B6DBFC65.2778%praxis>