Date: Thu, 21 Jul 2005 22:44:09 -0700 From: Glenn Dawson <glenn@antimatter.net> To: akhthar@carmatec.com, Frank de Bot <freebsd@searchy.nl> Cc: FreeBSD - Questions <freebsd-questions@freebsd.org> Subject: Re: ps -awux Message-ID: <6.1.0.6.2.20050721224333.106efaa0@cobalt.antimatter.net> In-Reply-To: <200507221109.48350.akhthar@carmatec.com> References: <200507201842.20904.akhthar@carmatec.com> <42DE8BB5.20604@searchy.nl> <200507221109.48350.akhthar@carmatec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20050721224333.106efaa0>