Jacob Ritorto wrote:
This DTrace is addicting -- It's my first taste and I already want more! I'm
immediately covetous of a dtrace that'll give me output similar to the
iscsiio.d script mentioned above, but list it by target instead of ip address.
Would anyone be willing to walk through making this mod with me?
Jake,
Replacing
args[0]->ci_remote
with
args[1]->ii_target
in the iscsiio.d script should print the target name instead of the
remote IPs. I gave it a quick try with iscsitgt:
# ./trace.d
Tracing... Hit Ctrl-C to end.
TARGET EVENT COUNT Kbytes KB/sec
iqn.1986-03.com.sun:02:c1c60e28-e3c5-ca25-9c25-b86429173747 write
1 12 0
iqn.1986-03.com.sun:02:c1c60e28-e3c5-ca25-9c25-b86429173747 read
8 4 0
--
Dave
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss