From owner-freebsd-questions Mon Mar 19 18:11:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from renown.cnchost.com (renown.concentric.net [207.155.248.7]) by hub.freebsd.org (Postfix) with ESMTP id D5DC537B72D for ; Mon, 19 Mar 2001 18:11:47 -0800 (PST) (envelope-from praxis@techpraxis.com) Received: from [64.221.116.130] (w130.z064221116.sea-wa.dsl.cnc.net [64.221.116.130]) by renown.cnchost.com id VAA21835; Mon, 19 Mar 2001 21:11:46 -0500 (EST) [ConcentricHost SMTP Relay 1.10] User-Agent: Microsoft-Entourage/9.0.2509 Date: Mon, 19 Mar 2001 18:11:49 -0800 Subject: Ps(1) command on FreeBSD --> parent-child view =?ISO-8859-1?B?vw==?= From: Forrest To: FreeBSD Questions Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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