Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 03:25:21 +0200
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Cc:        default <default013subscriptions@hotmail.com>
Subject:   Re: Quick Question Regarding PS
Message-ID:  <20020506032521.A26795@jsite.lefort.net>
In-Reply-To: <OE31t4I9pTl4EnAv1Og000020b2@hotmail.com>; from default013subscriptions@hotmail.com on Sun, May 05, 2002 at 08:02:58PM -0500
References:  <OE31t4I9pTl4EnAv1Og000020b2@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 05, 2002 at 08:02:58PM -0500, default wrote:
> Hi, I'm running on FreeBSD 4.1 which doesn't have the sysctl option
> (showallprocs) ... I am trying to think of a good way to let my users only
> see their own processes, and I am not much of a programmer...
> 
> I was thinking of making a bash script that would do ps only showing the
> user's processes, replacing the ps command with that, and changing ps's name
> to something that no one would think of...
> 
> but... before I do... I was wondering, are there any system resources that
> use PS? ... anything I should be worried about in this scenario?

I really don't like to flame (or maybe I do like it, sometimes), but:

1) I searched really hard, but I couldn't find your name in the message.

2) From the ps(1) manual page:

	"The process file system (see procfs(5)) should be mounted
	 when ps is executed, otherwise not all information will be
	 available."

   Maybe you could read the appropriate manpage before increasing
   the volume of this list?

> Thanks much

You are welcome.

Best regards,

Jean-Yves Lefort

-- 
* Jean-Yves Lefort -- jylefort@brutele.be -- http://lefort.homeunix.org/ *

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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