From mwm@mired.org  Fri Feb  2 09:59:41 2001
Return-Path: <mwm@mired.org>
Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186])
	by hub.freebsd.org (Postfix) with SMTP id CD36B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Feb 2001 09:59:40 -0800 (PST)
Received: (qmail 27972 invoked by uid 100); 2 Feb 2001 17:59:40 -0000
Message-Id: <20010202175940.27971.qmail@guru.mired.org>
Date: 2 Feb 2001 17:59:40 -0000
From: mwm@mired.org
Reply-To: mwm@mired.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] ps_showallprocs isn't documented.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         24804
>Category:       bin
>Synopsis:       [PATCH] ps_showallprocs isn't documented.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 02 10:00:02 PST 2001
>Closed-Date:    Thu Jun 7 18:17:05 PDT 2001
>Last-Modified:  Thu Jun 07 18:17:12 PDT 2001
>Originator:     Mike Meyer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD guru.mired.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jan 22 01:30:50 CST 2001 mwm@guru.mired.org:/usr/obj/sharetmp/src/sys/GURU i386


>Description:

The question "how do I disable showing other users processes" comes up
on -questions fairly often.

>How-To-Repeat:

Hang out in -questions for a while.

>Fix:

The following patch adds a reference to the sysctl variable to disable
looking at other peoples processes to the ps man page, as well as the
appropriate cross-reference.

--- ps.1-orig	Fri Feb  2 11:57:23 2001
+++ ps.1	Fri Feb  2 11:57:00 2001
@@ -82,6 +82,7 @@
 .Bl -tag -width indent
 .It Fl a
 Display information about other users' processes as well as your own.
+This can be disabled with the ps_showallprocs sysctl.
 .It Fl c
 Change the ``command'' column output to just contain the executable name,
 rather than the full command line.
@@ -516,6 +517,7 @@
 .Xr strftime 3 ,
 .Xr procfs 5 ,
 .Xr pstat 8 ,
+.Xr sysctl 8 ,
 .Xr mutex 9
 .Sh BUGS
 Since


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dd 
State-Changed-When: Fri Jun 1 21:02:39 PDT 2001 
State-Changed-Why:  
Committed to -current, thanks! 


Responsible-Changed-From-To: freebsd-bugs->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Fri Jun 1 21:02:39 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24804 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dd 
State-Changed-When: Thu Jun 7 18:17:05 PDT 2001 
State-Changed-Why:  
MFC'd 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24804 
>Unformatted:
