From owner-freebsd-questions Tue Aug 20 14:51:51 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 7C42037B400 for ; Tue, 20 Aug 2002 14:51:48 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E60C143E3B for ; Tue, 20 Aug 2002 14:51:47 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7KLowj11390; Tue, 20 Aug 2002 17:50:58 -0400 (EDT) From: Jerry McAllister Message-Id: <200208202150.g7KLowj11390@clunix.cl.msu.edu> Subject: Re: help a poor refuge from SCO UNIX (SysV) To: bts@babbleon.org (Brian T. Schellenberger) Date: Tue, 20 Aug 2002 17:50:57 -0400 (EDT) Cc: dnelson@allantgroup.com (Dan Nelson), bill@techservsys.com (bill), freebsd-questions@FreeBSD.ORG In-Reply-To: <200208201640.28030.bts@babbleon.org> from "Brian T. Schellenberger" at Aug 20, 2002 04:40:27 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > On Tuesday 20 August 2002 11:03 am, Dan Nelson wrote: > | 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". > > Hmmm . . . but the FreeBSD man page documents using the dash for the BSD > options. It always makes mea little nervous to deliberately depart from the > man page. Use it the way the man page says. I don't understand that previous statement being so generalized or universally made. In my experience using the minus almost always works except for a couple of things and there seem to be plenty that are unfriendly without it. As for ps, check the man page. I have gotten in to the habit of typing 'ps -auxw' for almost everything. In fact I made an alias I call 'psg' that is alias "psg ps -auxww | grep " to search for stuff. Saves a lot of typing. ////jerry > -- > Brian, the man from Babble-On . . . . bts@babbleon.org (personal) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message