<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="+1">Hi, <br> <br> Is there a way to make tick-n probe user defined so that user can enter the sampling rate at the command line and no need to change the Dtrace script. I am looking for something like tick-$2sec so that user can see the result at the interval of every 5, 10, 15, 20, 50, 100 etc. sec depending on what he provides as the second argument on command line. <br> <br> Thanks,<br> Ashu.<br> </font> </body> </html>
Ashu, How about: dtrace -n ''tick-$1'' ''100s'' On 12/15/05, Ashutosh Kumar <Ashutosh.Kumar at sun.com> wrote:> Hi, > > Is there a way to make tick-n probe user defined so that user can enter the > sampling rate at the command line and no need to change the Dtrace script. I > am looking for something like tick-$2sec so that user can see the result at > the interval of every 5, 10, 15, 20, 50, 100 etc. sec depending on what he > provides as the second argument on command line. > > Thanks, > Ashu. > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org > >-- Just me, Wire ...