From owner-freebsd-hackers Wed May 21 09:42:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA19746 for hackers-outgoing; Wed, 21 May 1997 09:42:25 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA19741 for ; Wed, 21 May 1997 09:42:23 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id JAA03427; Wed, 21 May 1997 09:40:54 -0700 From: Terry Lambert Message-Id: <199705211640.JAA03427@phaeton.artisoft.com> Subject: Re: pure /proc ps? To: black@zen.cypher.net (Ben Black) Date: Wed, 21 May 1997 09:40:54 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Ben Black" at May 20, 97 11:47:34 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > on solaris you can chmod -s /bin/ps and users are then only able to see > their own processes because it is all based on /proc. freebsd uses > /dev/kmem and /dev/mem (in addition to /proc?) so that is not possible. > > is there any hope of a pure /proc ps on freebsd? % man ps PS(1) UNIX Reference Manual PS(1) NAME ps - process status SYNOPSIS ps [-aCcehjlmrSTuvwx] [-M core] [-N system] [-O fmt] [-o fmt] [-p pid] [-t tty] [-U username] [-W swap] Not as long as "-M core", "-N system", and "-W swap" exist to allow running ps against system-dump images. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.