From owner-freebsd-questions Mon Nov 25 3:26:34 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 946D737B401 for ; Mon, 25 Nov 2002 03:26:33 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C69743E3B for ; Mon, 25 Nov 2002 03:26:32 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAPBQNQf030375 for ; Mon, 25 Nov 2002 11:26:23 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAPBQIIO030374 for freebsd-questions@FreeBSD.ORG; Mon, 25 Nov 2002 11:26:18 GMT Date: Mon, 25 Nov 2002 11:26:18 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: .sh interactive ok, from crontab, not Message-ID: <20021125112618.GC29473@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <5.1.1.6.2.20021125005050.01e0c638@mail.go2france.com> <5.1.1.6.2.20021125074602.01c98e80@mail.go2france.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.1.6.2.20021125074602.01c98e80@mail.go2france.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.43 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 Mon, Nov 25, 2002 at 07:47:46AM +0100, Len Conrad wrote: > >Try running 'ps' using the -w flag (wide column mode): > > > > if ( ps -auxw | grep -iq "^root.*master" ) ; then > > > >I've tested this and it works. > > here, too, thanks!! One -w switches from 80 column width to 132 column width, but two -w's gives you unlimited width ps output. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message