From owner-freebsd-current Tue Jun 11 5:41: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id E846C37B408; Tue, 11 Jun 2002 05:41:00 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 7E1B55361; Tue, 11 Jun 2002 14:40:55 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Juli Mallett Cc: current@FreeBSD.ORG Subject: Re: Looking for comments on a new utility... References: <20020611051517.A87966@FreeBSD.ORG> From: Dag-Erling Smorgrav Date: 11 Jun 2002 14:40:54 +0200 In-Reply-To: <20020611051517.A87966@FreeBSD.ORG> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Juli Mallett writes: > ps(1)'s internals, however, didn't seem quite right to me, but after about > 10 minutes reading kvm(3) manpages and recalling some tricks with recursive > programming to produce an N-level tree with as many as N-1 elements, I had > come up with a simple utility to print out a "process tree". Don't do anything in ps(1) that depends on libkvm. It has to be doable with sysctl as well. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message