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

Reply via email to