Are you runing solaris on physical hardware or on a virtual machine? I've seen the clock beheave in weird ways when enabling SMP on VMware server
> >From: Qihua Wu <dtrace...@gmail.com> >To: dtrace-discuss@opensolaris.org >Sent: Tue, January 12, 2010 3:17:43 AM >Subject: [dtrace-discuss] profile:::tick-1s doesn't work as expected on x86. > >>The dtrace script supposed to print out every 1 second, but it prints nothing >>during 15 seconds. > >>$> ./b.d >>dtrace: script './b.d' matched 1 probe >>^C > >>$> cat b.d >>#!/usr/sbin/dtrace -s >>profile:::tick-1s >>{ >> printf("out\n"); >>} >>$> date;./b.d;date >>Mon Jan 11 23:13:00 GMT 2010 ==> begin at 23:13:00 >>dtrace: script './b.d' matched 1 probe >>^C > >>Mon Jan 11 23:13:14 GMT 2010 ==>: end at 23:13:14, so it runs for 14 >>seconds, but no output. >>$> > > >>$> cat /etc/release >> Solaris 10 11/06 s10x_u3wos_10 X86 >> Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. >> Use is subject to license terms. >> Assembled 14 November 2006 > >>$> uname -a >>SunOS srwdb22 5.10 Generic_125101-05 i86pc i386 i86pc > >>Thanks, >>Daniel >
_______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org