From owner-freebsd-questions@FreeBSD.ORG Fri May 7 10:10:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C96D61065679 for ; Fri, 7 May 2010 10:10:47 +0000 (UTC) (envelope-from bsemene@cyanide-studio.com) Received: from relay.cyanide-studio.com (relay.cyanide-studio.com [91.121.7.6]) by mx1.freebsd.org (Postfix) with ESMTP id 863198FC08 for ; Fri, 7 May 2010 10:10:47 +0000 (UTC) Received: from mail.cyanide-studio.com (LAubervilliers-153-52-12-153.w217-128.abo.wanadoo.fr [217.128.107.153]) by relay.cyanide-studio.com (Postfix) with ESMTP id 6AE499648A6 for ; Fri, 7 May 2010 09:53:04 +0000 (UTC) Received: from localhost (unknown [10.1.8.14]) by mail.cyanide-studio.com (Postfix) with ESMTP id 10AA317BF429 for ; Fri, 7 May 2010 11:53:04 +0200 (CEST) Received: from mail.cyanide-studio.com ([10.1.8.3]) by localhost (mailguard.cyanide-studio.com [10.1.8.14]) (amavisd-maia, port 10024) with ESMTP id 77205-09 for ; Fri, 7 May 2010 11:53:03 +0200 (CEST) Received: from [10.1.8.123] (unknown [10.1.8.123]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bsemene@cyanide-studio.com) by mail.cyanide-studio.com (Postfix) with ESMTP id E0A9B17BF428 for ; Fri, 7 May 2010 11:53:03 +0200 (CEST) Message-ID: <4BE3E2FF.5000803@cyanide-studio.com> Date: Fri, 07 May 2010 11:53:03 +0200 From: Bastien Semene User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Number of columns when redirecting ps command stdout to a file 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: Fri, 07 May 2010 10:10:47 -0000 Hi list, I wish to log the 'ps' command output in a file through a cron job. If I execute the command on the console, the result lines are truncated depending on the number of columns of the client console, what is fine. But when the command is executed by cron and redirected to a file, there's a maximum of 80 char columns. Where is set this limitation ? How can I remove it ? Thanks for your help, and sorry if it is a newbie question but I really can't figure out what is limiting the output. -- Bastien Semene