Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 08:36:59 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        jdyke <jdyke@azimapower.com>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: ps -awux
Message-ID:  <20050720230659.GU56954@wantadilla.lemis.com>
In-Reply-To: <42DE4CC9.6050201@azimapower.com>
References:  <200507201842.20904.akhthar@carmatec.com> <42DE4CC9.6050201@azimapower.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--oP9at/Ymg5VWhwKB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wednesday, 20 July 2005 at 13:08:25 +0000, jdyke 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?
>
> -u matches user
>
> man ps

This is not the way you think.  u specifies specific user-related
attributes, but not for a specific user:

     -u      Display information associated with the following keywords: user,
             pid, %cpu, %mem, vsz, rss, tt, state, start, time, and command.
             The -u option implies the -r option.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
The virus contained in this message has mutated and will now attack
unsuspecting Microsoft boxen.  LEMIS anti-virus has detected the
problem, but is too busy laughing to do anything about it.
For further details see http://www.lemis.com/grog/lemis-virus.html

Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.

--oP9at/Ymg5VWhwKB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC3tkTIubykFB6QiMRApg2AJ4hcAkFENF8L0TEuscfMQgbS0b1JACeNppv
lapY/CP8gGM5nPe8hlrB8NE=
=cbtk
-----END PGP SIGNATURE-----

--oP9at/Ymg5VWhwKB--



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