G'Day,

On Thu, Aug 07, 2008 at 11:01:12PM -0700, tester wrote:
> say for instance here: calcloadavg in
> http://src.opensolaris.org/source/xref/onnv/onnv-
> gate/usr/src/uts/common/os/clock.c#2097
> 
> should a new probe need to implemented or somwhow the current framework could 
> do this? If a new probe needs to be implemented is there a  receipe to do 
> that? Thanks for clearing up.

There are a few examples of using avenrun in the DTraceToolkit (grep avenrun
Bin/*), but this may already be down the wrong path: if the desire is to
measure CPU load more accurately, it may be better to roll your own metric
using the sched provider.

Brendan

-- 
Brendan
[CA, USA]
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to