From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 05:47:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6DE116A456 for ; Fri, 22 Jul 2005 05:47:23 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6BB243D48 for ; Fri, 22 Jul 2005 05:47:18 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j6M5l924018328 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Thu, 21 Jul 2005 22:47:09 -0700 Message-Id: <6.1.0.6.2.20050721224333.106efaa0@cobalt.antimatter.net> X-Sender: lists@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Thu, 21 Jul 2005 22:44:09 -0700 To: akhthar@carmatec.com, Frank de Bot From: Glenn Dawson In-Reply-To: <200507221109.48350.akhthar@carmatec.com> References: <200507201842.20904.akhthar@carmatec.com> <42DE8BB5.20604@searchy.nl> <200507221109.48350.akhthar@carmatec.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: FreeBSD - Questions Subject: Re: ps -awux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 05:47:23 -0000 At 10:39 PM 7/21/2005, Akhthar Parvez. K wrote: >Hi, > >Thanks to Frank. I have changed the value of kern.ps_showallprocs to 1 and >its >listing all processes now. I used the following command > >sysctl kern.ps_showallprocs=1 > >Will the value change back to zero once the server is rebooted. If yes, is >there any way to make the changes permanently. I added the following line >into /boot/loader.conf, but that didn't help. >kern.ps_showallprocs="1" > >Any help is much appreciated. Add kern.ps_showallprocs=1 to /etc/sysctl.conf -Glenn >On Wednesday 20 July 2005 23:06, Frank de Bot wrote: > > Akhthar Parvez. K wrote: > > > Hello, > > > > > > When I run the command ps -awux from a user's bash shell(not root), it's > > > listing the processes under the particular user only. Can anyone tell me > > > why? > > > > Under FreeBSD 4.x the sysctl is: > > > > kern.ps_showallprocs > > > > 0: only show processes of the user itself > > 1: Show all processes > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > >-- >With Regards, > >Akhthar Parvez.K >System Administrator >Carmatec IT Solutions Pvt Ltd. >1st Block, Koramangala, >Bangalore >--------------------- >NOTHING IS IMPOSSIBLE >Because Impossible itself says >I'M POSSIBLE >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"