Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 1997 12:08:48 -0400 (EDT)
From:      Ben Black <black@zen.cypher.net>
To:        Terry Lambert <terry@lambert.org>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: pure /proc ps?
Message-ID:  <Pine.LNX.3.91.970521120749.17872N-100000@zen.cypher.net>
In-Reply-To: <199705211640.JAA03427@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
so why does ps try to access anything other than /proc when i *don't* use 
those options?

On Wed, 21 May 1997, Terry Lambert wrote:

> > 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?Pine.LNX.3.91.970521120749.17872N-100000>