Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 11:09:48 +0530
From:      "Akhthar Parvez. K" <akhthar@carmatec.com>
To:        Frank de Bot <freebsd@searchy.nl>
Cc:        FreeBSD - Questions <freebsd-questions@freebsd.org>
Subject:   Re: ps -awux
Message-ID:  <200507221109.48350.akhthar@carmatec.com>
In-Reply-To: <42DE8BB5.20604@searchy.nl>
References:  <200507201842.20904.akhthar@carmatec.com> <42DE8BB5.20604@searchy.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507221109.48350.akhthar>