[dtrace-discuss] Fireengine Snoop

Ravi Swaminathan
Thu, 14 Jul 2005 01:32:01 -0000

Hi All,

This script  (attached) is an effort to understand the new fireengine
 architecture (also learn Dtrace in the process)

This script taps into squeue_enter,squeue_no_drain,squeue_fill
functions to get a handle on the squeue_s structure and prints
the folowing information

SQ-status -
CPU bound to
The next fuction in the squeue
-- This is achived by printing the stack() of the function
-- Also the next function triggered is captured to compare with the stack.
and tcp/ip information from the merged structure

Feedback/Comments/Bashing  all welcome :)

Please note I will be putting this on my Blog site
http://blogs.sun.com/raviswam
I will be adding a note in comments saying this is a work in progress
script and
is not to be used as is :).

Let the bashing begin :).

Thanks

Ravi

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: squeue.ksh.txt
URL:
<http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20050714/cfe7e787/attachment.txt>