Thanks Keil,

As the sys cpu spike only happens several times a day and the during is very
short, so it's good to run a tool 24 hours a day to do the monitor. So how
about performance impact of "lockstat -kIW -D 20 sleep 10".

I'd like something like "vmstat 5 10000" to let it output every 5 seconds to
catch what is happening during the high sys cpu, I checked the man page,
looks like lockstat is not able to output as vmstat.
Thanks,
Daniel
On Thu, Jan 14, 2010 at 6:04 PM, Jürgen Keil <jrgn.k...@googlemail.com>wrote:

> > And the high sys cpu
> > happened for very short time, if sample the
> > performance every 1 mins, we can't find high sys
> > cpu, but if sample the performance every 10 seconds,
> > we can see high sys cpu. I'd like to some tool
> > to check whether the sys cpu comes from.
>
> Start with a kernel profile,
>
>    lockstat -kIW -D 20 sleep 10
> --
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org
>
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to