From owner-freebsd-commit Sat Dec 30 06:12:24 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA19488 for freebsd-commit-outgoing; Sat, 30 Dec 1995 06:12:24 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA19479 for cvs-all-outgoing; Sat, 30 Dec 1995 06:12:21 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA19469 for cvs-bin-outgoing; Sat, 30 Dec 1995 06:12:19 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA19464 Sat, 30 Dec 1995 06:12:14 -0800 (PST) Received: (from peter@localhost) by jhome.DIALix.COM (8.7.3/8.7.3) id WAA06374; Sat, 30 Dec 1995 22:12:10 +0800 (WST) Date: Sat, 30 Dec 1995 22:12:09 +0800 (WST) From: Peter Wemm To: Joerg Wunsch cc: cvs-bin@freefall.freebsd.org, CVS-committers@freefall.freebsd.org Subject: Re: cvs commit: src/bin/ps ps.1 In-Reply-To: <199512301352.FAA18625@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.. :-) Also, it sounds like it's time to put a warning in GENERIC and LINT saying that procfs is needed for 'ps' and 'gdb' to work completely. (gdb uses it to attach to processes) -Peter