bin/46382: ps(1) could use a "repeat" mode

Rich Morin rdm at cfcl.com
Sun Mar 2 19:10:21 UTC 2008


At 14:46 +0000 3/2/08, rwatson at 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 at cfcl.com
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, and web development


More information about the freebsd-bugs mailing list