From owner-freebsd-bugs Sun Feb 3 3:52: 5 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from webmail3.cac.psu.edu (webmail3.cac.psu.edu [128.118.1.212]) by hub.freebsd.org (Postfix) with ESMTP id 08CA537B402 for ; Sun, 3 Feb 2002 03:52:00 -0800 (PST) Received: (from webmail@localhost) by webmail3.cac.psu.edu (8.9.3/8.9.0) id GAA26920; Sun, 3 Feb 2002 06:52:00 -0500 (EST) Date: Sun, 3 Feb 2002 06:52:00 -0500 (EST) Message-Id: <200202031152.GAA26920@webmail3.cac.psu.edu> To: freebsd-bugs@freebsd.org Subject: kern.ps_showallprocs workaround From: "Daniel B. Hemmerich" Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailer: Penn State WebMail X-Sender: dbh142@psu.edu X-Originating-IP: 65.164.16.146 MIME-Version: 1.0 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I believe bugs is the correct mailing list to send this sorta issue to. If not, oh well, too late. The goal, I believe, of the sysctl kern.ps_showallprocs variable (setting) is to hide the system processes from the common user, as there is not always a need to let users have all that information. Well, the proc filesystem, procfs, is still wide open with valuable process information for anyone to read. I may just not have found the correct documentation, but I did not find anyway to really change this w/o me guessing and possibly messing my workstation up. Someone I know wrote a perl script which basically duplicates the ouput of the ps program by grabbing the procfs information and neatly displaying it. I believe he didn't even bother to really dig into some of the procfs information that is avaliable to the world. The URL of the script if anyone is interested is: http://www.hhp-programming.net/ourprograms/hhp-sap_evade.pl If there are plans to change this situation, or if I am just flat out mistaken, please let me know. Thanks a lot, Daniel B. Hemmerich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message