[dtrace-discuss] how long do interactive users wait for scripts/programs to run ?

Michael Schuster Michael.Schuster at Sun.COM
Tue Jan 9 07:01:12 PST 2007


Angelo Rajadurai wrote:
> Arun:
> 
> Not sure if this is what you are asking. In DTrace you subscribe
> for probes and wait for these probes to fire. So the script will run
> until you stop it (or call exit() from within). So to terminate a script
> just hit ^c.
> 
> Hopefully this answered what you wanted?

I actually understood this a bit differently: I think Arun wants to measure 
the delay between someone pressing return on a commandline and the program 
actually "running".
There's a few things that come to mind:
- you need to monitor the user's shell to catch the 'return'
- you need to define what constitutes a "running" program (probably not as 
easy as it sounds).

Michael

>> I want to know how long do interactive users wait for scripts/programs 
>> to run using DTrace?
>> Please help me out in this regard...
-- 
Michael Schuster
Sun Microsystems, Inc.


More information about the dtrace-discuss mailing list