On 9/24/07, Alex <[EMAIL PROTECTED]> wrote:
> Obviously prstat(1M) is a great interactive tool, but it's less
> useful to me to use for backgrounded logging since it doesn't have a
> time stamp and so forth. Is there a tool in Solaris 10 where I can
> monitor this useful statistic without having to use prstat(1M)?

Remember that one of the founding principles of UNIX is the pipe to
connect various processes together to do useful stuff.

$ prstat -mL -n50 | perl -nle 'print scalar localtime time, " $_"'

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to