From owner-freebsd-commit Sat Dec 30 08:59:33 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA24783 for freebsd-commit-outgoing; Sat, 30 Dec 1995 08:59:33 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA24773 for cvs-all-outgoing; Sat, 30 Dec 1995 08:59:29 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA24763 for cvs-bin-outgoing; Sat, 30 Dec 1995 08:59:27 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA24758 Sat, 30 Dec 1995 08:59:23 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id IAA15614; Sat, 30 Dec 1995 08:59:22 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id IAA03212; Sat, 30 Dec 1995 08:59:28 -0800 (PST) Message-Id: <199512301659.IAA03212@corbin.Root.COM> To: Peter Wemm cc: Joerg Wunsch , cvs-bin@freefall.freebsd.org, CVS-committers@freefall.freebsd.org Subject: Re: cvs commit: src/bin/ps ps.1 In-reply-to: Your message of "Sat, 30 Dec 95 22:12:09 +0800." From: David Greenman Reply-To: davidg@Root.COM Date: Sat, 30 Dec 1995 08:59:27 -0800 Sender: owner-commit@FreeBSD.ORG Precedence: bulk >On Sat, 30 Dec 1995, Joerg Wunsch wrote: >> joerg 95/12/30 05:52:04 >> >> Modified: bin/ps ps.1 >> Log: >> Small man page tweaks: >> >> . mention the need for procfs >> . make it clear that default sorting is first by ctty, then by PID > >Hmm. this was a suprise to me... I thought procfs was optional, but it >doesn't look like, since libkvm reads the /proc//mem files. > >BTW, libkvm should only try to grab /proc//mem from if ISALIVE(kd) is >true.. Otherwise doing a ps on a dead kernel is going to look pretty >interesting.. :-) We should probably remove support for "dead kernels". It has never worked in 2.x anyway and I'm fundamentally opposed to hacking in cruft to drudge around in the kernel's crash dump and attempt to parse paging data structures. That's what debuggers are for. That goes against the principal of why we're using procfs in the first place. -DG