From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 06:51:45 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 EF96C16A422 for ; Fri, 22 Jul 2005 06:51:45 +0000 (GMT) (envelope-from akhthar@carmatec.com) Received: from server1.carmatec.com (server1.carmatec.com [66.45.229.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCC8343D55 for ; Fri, 22 Jul 2005 06:51:32 +0000 (GMT) (envelope-from akhthar@carmatec.com) Received: from [202.56.253.42] (helo=ws20.carmatec.com) by server1.carmatec.com with esmtpa (Exim 4.43) id 1DvrNW-0001AX-Kd; Fri, 22 Jul 2005 01:51:05 -0500 From: "Akhthar Parvez. K" Organization: Carmatec IT Solutions To: Glenn Dawson , Frank de Bot Date: Fri, 22 Jul 2005 12:25:20 +0530 User-Agent: KMail/1.5 References: <200507201842.20904.akhthar@carmatec.com> <200507221109.48350.akhthar@carmatec.com> <6.1.0.6.2.20050721224333.106efaa0@cobalt.antimatter.net> In-Reply-To: <6.1.0.6.2.20050721224333.106efaa0@cobalt.antimatter.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507221225.20634.akhthar@carmatec.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server1.carmatec.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - carmatec.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD - Questions Subject: Re: ps -awux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: akhthar@carmatec.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 06:51:46 -0000 Hi, Thanks Glenn. I have made the changes. FreeBSD mailing list rocks! Sorry to ask, but it would be great if anyone can tell me what would the solution for the same problem in a redhat LINUX machine. I hope all of you would take it in such a spirit that providing support for another opensource OS which's also a flavor of UNIX. On Friday 22 July 2005 11:14, Glenn Dawson wrote: > 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" -- With Regards, Akhthar --------------------- NOTHING IS IMPOSSIBLE Because Impossible itself says I'M POSSIBLE