From owner-freebsd-questions@FreeBSD.ORG Wed Jul 20 23:07:02 2005 Return-Path: X-Original-To: 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 E27F616A421 for ; Wed, 20 Jul 2005 23:07:02 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0459043D5C for ; Wed, 20 Jul 2005 23:07:01 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id B748E86DDE; Thu, 21 Jul 2005 08:36:59 +0930 (CST) Date: Thu, 21 Jul 2005 08:36:59 +0930 From: Greg 'groggy' Lehey To: jdyke Message-ID: <20050720230659.GU56954@wantadilla.lemis.com> References: <200507201842.20904.akhthar@carmatec.com> <42DE4CC9.6050201@azimapower.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oP9at/Ymg5VWhwKB" Content-Disposition: inline In-Reply-To: <42DE4CC9.6050201@azimapower.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: FreeBSD Questions Subject: Re: ps -awux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 23:07:03 -0000 --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--