From owner-freebsd-bugs Fri Feb 2 10: 0:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D074337B491 for ; Fri, 2 Feb 2001 10:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12I02m77156; Fri, 2 Feb 2001 10:00:02 -0800 (PST) (envelope-from gnats) 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 ; 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 X-Send-Pr-Version: 3.113 Subject: bin/24804: [PATCH] ps_showallprocs isn't documented. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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