From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 05:36:18 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 043D216A41F for ; Fri, 22 Jul 2005 05:36:18 +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 0D0CB43D7B for ; Fri, 22 Jul 2005 05:35:59 +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 1DvqCQ-0003h2-5N; Fri, 22 Jul 2005 00:35:32 -0500 From: "Akhthar Parvez. K" Organization: Carmatec IT Solutions To: Frank de Bot Date: Fri, 22 Jul 2005 11:09:48 +0530 User-Agent: KMail/1.5 References: <200507201842.20904.akhthar@carmatec.com> <42DE8BB5.20604@searchy.nl> In-Reply-To: <42DE8BB5.20604@searchy.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507221109.48350.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 05:36:18 -0000 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. 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