Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 1997 09:40:54 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        black@zen.cypher.net (Ben Black)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: pure /proc ps?
Message-ID:  <199705211640.JAA03427@phaeton.artisoft.com>
In-Reply-To: <Pine.LNX.3.91.970520234308.17872I-100000@zen.cypher.net> from "Ben Black" at May 20, 97 11:47:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705211640.JAA03427>