PRDEEP KUMAR wrote:
> Hi Experts,
> 
>  I wanna know why truss makes the process running slow when we run truss
> on that,why not the same with the dtrace?

Completely different technologies.  Truss intercepts things in user
space at the system call layer and blocks the application while it does
some of that work; it's sort of like a debugger.  Dtrace instruments
arbitrary points in the kernel and writes the information into a
circular buffer for another process to read.

If you work hard at it, you can use dtrace to make things slow as well.
 (It has some built in self-protection that will kick in and start
disabling your probes if the system gets "too slow.")

-- 
James Carlson         42.703N 71.076W         <carls...@workingcode.com>
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to