From owner-freebsd-questions Tue Aug 20 8: 3:19 2002 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 3CF1437B401 for ; Tue, 20 Aug 2002 08:03:16 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B09A743E75 for ; Tue, 20 Aug 2002 08:03:15 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g7KF3Er8037944; Tue, 20 Aug 2002 10:03:14 -0500 (CDT) (envelope-from dan) Date: Tue, 20 Aug 2002 10:03:14 -0500 From: Dan Nelson To: "Brian T. Schellenberger" Cc: bill , freebsd-questions@FreeBSD.ORG Subject: Re: help a poor refuge from SCO UNIX (SysV) Message-ID: <20020820150314.GC37720@dan.emsphone.com> References: <3D61EF7C.27429.9BC4F7B@localhost> <200208200816.09303.bts@babbleon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208200816.09303.bts@babbleon.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Aug 20), Brian T. Schellenberger said: > On Tuesday 20 August 2002 07:27 am, bill wrote: > | I think it would be easier to learn freeBSD from scratch rather > | than fall into all the holes where the same command does slightly > | different things on SCO and freeBSD. Help ! > | > | 1) I want to see all processes to be able to grep the pid of the > | one I want. ps -a doesn't show process detached from ttys > | apparently. ps -ef doesn't do it either. what is the correct arg > | for ps ? > > ps -ax > > (a = all users; x = without ttys). Note: some systems will process both BSD and SYSV ps arguments, depending on whether you start with a dash. To be safe, always leave the dash off when using BSD flags. "ps ax". -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message