From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 2 19:10:20 2008 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA2631065671; Sun, 2 Mar 2008 19:10:20 +0000 (UTC) (envelope-from rdm@cfcl.com) Received: from pop.cfcl.com (cfcl.com [208.201.233.106]) by mx1.freebsd.org (Postfix) with ESMTP id B0C5D8FC2B; Sun, 2 Mar 2008 19:10:20 +0000 (UTC) (envelope-from rdm@cfcl.com) Received: from [192.168.1.205] (cerberus [192.168.1.205]) by pop.cfcl.com (Postfix) with ESMTP id BABF611982B3; Sun, 2 Mar 2008 10:51:41 -0800 (PST) Mime-Version: 1.0 Message-Id: In-Reply-To: <200803021446.m22EkhiX016874@freefall.freebsd.org> References: <200803021446.m22EkhiX016874@freefall.freebsd.org> Date: Sun, 2 Mar 2008 10:50:54 -0800 To: rwatson@FreeBSD.org From: Rich Morin Content-Type: text/plain; charset="us-ascii" Cc: rdm@cfcl.com, rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/46382: ps(1) could use a "repeat" mode X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 19:10:21 -0000 At 14:46 +0000 3/2/08, rwatson@FreeBSD.org wrote: > Synopsis: ps(1) could use a "repeat" mode > > State-Changed-From-To: suspended->feedback > State-Changed-By: rwatson > State-Changed-When: Sun Mar 2 14:46:06 UTC 2008 > State-Changed-Why: > Transition to 'feedback' as requested by brucec. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=46382 Indeed, top is quite willing to repeat its display. However, top is not configurable in all the same ways as ps. IIRC, I was feeding the output of ps into a logging script. ps gave me fine output, but I didn't like the fact that I had to spawn a new instance for each report. FYI, I'm currently doing a similar sort of looging activity, at a much finer level of granularity, using DTrace. If and when FreeBSD supports this tool, I may try my logging suite out on it... -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development