Skip site navigation (1)Skip section navigation (2)
Date:      2 Feb 2001 17:59:40 -0000
From:      mwm@mired.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/24804: [PATCH] ps_showallprocs isn't documented.
Message-ID:  <20010202175940.27971.qmail@guru.mired.org>

next in thread | raw e-mail | index | archive | help

>Number:         24804
>Category:       bin
>Synopsis:       [PATCH] ps_showallprocs isn't documented.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 02 10:00:02 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


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




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