Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2008 10:50:54 -0800
From:      Rich Morin <rdm@cfcl.com>
To:        rwatson@FreeBSD.org
Cc:        rdm@cfcl.com, rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/46382: ps(1) could use a "repeat" mode
Message-ID:  <p06230965c3f0a5a26bc0@[192.168.1.205]>
In-Reply-To: <200803021446.m22EkhiX016874@freefall.freebsd.org>
References:  <200803021446.m22EkhiX016874@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06230965c3f0a5a26bc0>