From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 14 00:00:38 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D248B16A4CE for ; Mon, 14 Mar 2005 00:00:38 +0000 (GMT) Received: from mxsf41.cluster1.charter.net (mxsf41.cluster1.charter.net [209.225.28.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8089D43D58 for ; Mon, 14 Mar 2005 00:00:37 +0000 (GMT) (envelope-from c0ldbyte@myrealbox.com) Received: from mxip12.cluster1.charter.net (mxip12a.cluster1.charter.net [209.225.28.142])j2E00aS7030572 for ; Sun, 13 Mar 2005 19:00:36 -0500 Received: from 24.247.253.134.gha.mi.chartermi.net (HELO eleanor.us1.wmi.uvac.net) (24.247.253.134) by mxip12.cluster1.charter.net with ESMTP; 13 Mar 2005 19:00:35 -0500 X-Ironport-AV: i="3.90,160,1107752400"; d="scan'208"; a="874674705:sNHT2032845796" Date: Sun, 13 Mar 2005 19:00:31 -0500 (EST) From: c0ldbyte To: junk In-Reply-To: <4234CC36.1080908@boxchat.net> Message-ID: <20050313185830.V451@eleanor.us1.wmi.uvac.net> References: <42349621.2060409@boxchat.net> <20050313144036.R85674@eleanor.us1.wmi.uvac.net> <4234A7EC.80006@boxchat.net> <4234A911.2070601@boxchat.net> <4234C324.4000302@thedarkside.nl> <4234CC36.1080908@boxchat.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-hackers@freebsd.org cc: Pieter de Boer Subject: Re: cron limit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 00:00:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 13 Mar 2005, junk wrote: > Pieter de Boer wrote: > >> >>> The script thats being ran by cron does a 'ps x |grep test.pl'. and >>> prases the output from test.pl, but since cron is limiting the char >>> length, its not parsing the output right. >> >> ps -xw ? >> > Yeah. That was the problem. Yeah that would be correct but still just might want to go with a couple more "w"'s for instance just one will still cut off to a certain point so a (ps auxwww) will make sure it gets everything and feeds back the proper information. Sorry I didnt remember that right away. Best luck & wishes: --c0ldbyte -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F iD8DBQFCNNQismFQuvffl58RAqTnAJ4m2nI1HTx6kog5uIICKVYsgWAMgQCfYkOL ZAWnTmlcBJHsVDCL1CC3vt4= =g6f6 -----END PGP SIGNATURE-----