Skip to content

scsi.d update

July 13, 2006

I have added printing of the name of the executable and the process id that initiates an IO so that it is easier to see who is causing all those scsi commands to be sent.

Then for those who just have to have the raw bits to be happy, I have updated scsi.d to also dump out the raw cdb as well.

00000.627329400 fp5:-> 0x2a WRITE(10) address 00:00, lba 0x0001bfe9, len 0x000001, control 0x00 timeout 60 CDBP 600d7881d1c diskomizer64mpis(23849) cdb(10) 2a000001bfe900000100 00000.788444600 fp5:-> 0x2a WRITE(10) address 00:00, lba 0x00de6380, len 0x000010, control 0x00 timeout 60 CDBP 600a4282abc diskomizer64mpis(23847) cdb(10) 2a0000de638000001000 

You can find the script here: http://blogs.sun.com/roller/resources/chrisg/scsi.d


Tags: topic:[dtrace] topic:[solaris] topic:[scsi]

Advertisements

From → Solaris

2 Comments
  1. Chris, this looks to me to be exactly what <a http://brendangregg.com>Brendan Gregg is looking for for folk to contribute to the DTrace Toolkit. You guys should talk 🙂
    Alan.

  2. Of course the link should be Brendan Gregg. Don’t you hate when you hit save and then notice such mistakes?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: