From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 23:34:11 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 598B9106567C for ; Wed, 29 Oct 2008 23:34:11 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3BD378FC16 for ; Wed, 29 Oct 2008 23:34:11 +0000 (UTC) (envelope-from m0rchand@comcast.net) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id YeAc1a02r0b6N64A1nQAmc; Wed, 29 Oct 2008 23:24:10 +0000 Received: from [10.0.1.200] ([76.122.47.225]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id YnQ91a0094rWgJL8PnQ9j4; Wed, 29 Oct 2008 23:24:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=LgzOyp7x1A4A:10 a=t7L62AhPsWgA:10 a=pmcz18mH-jHL6IhGZaIA:9 a=IkrZhaN6mqzFEXsNQdFyw0OXdhAA:4 a=XF7b4UCPwd8A:10 Message-Id: From: Tom Marchand In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 29 Oct 2008 19:24:09 -0400 References: X-Mailer: Apple Mail (2.929.2) Cc: questions@freebsd.org Subject: Re: Script-friendly (parseble) ps(1) output? 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: Wed, 29 Oct 2008 23:34:11 -0000 The output I get from that command is pretty much aligned in columns. Maybe you can extract the columns with cut -c. On Oct 29, 2008, at 6:02 PM, Eduardo Meyer wrote: > ps -ax -o pid -o user -o emul -o lstart -o lockname -o stat -o command