From owner-cvs-bin Thu Dec 4 23:35:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA27142 for cvs-bin-outgoing; Thu, 4 Dec 1997 23:35:33 -0800 (PST) (envelope-from owner-cvs-bin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA26952; Thu, 4 Dec 1997 23:34:47 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA05942; Thu, 4 Dec 1997 23:33:41 -0800 (PST) Date: Thu, 4 Dec 1997 23:33:41 -0800 (PST) Message-Id: <199712050733.XAA05942@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/ps Makefile ps.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/12/04 23:33:41 PST Modified files: bin/ps Makefile ps.c Log: Add an option to building PS, so that the upages are explicitly paged in only for users who are root, or in group wheel. This is useful on large timesharing systems where a PS command can cause the system to grind to a halt. The ability to get the information isn't diminished for those who really need the additional detail (administrators.) Normal users won't see any difference unless the processes are swapped out. The "really get it mode" is invoked by the use of an additional flag in the command string "-f". New/old behavior is selectable with a compile option. PR: 5196 Submitted by: Matt Dillon Revision Changes Path 1.11 +8 -2 src/bin/ps/Makefile 1.22 +36 -11 src/bin/ps/ps.c