| Solaris |
|
|
Dcmds for iSER/iscsit are located in usr/src/cmd/mdb/common/modules/idm/idm.c.
Here's a list of the iSER-related dcmds:
{{{
::iscsi_tgt
Print out information associated with an iscsit target instance.
Flags:
-s Print associated session information
-c Print associated connection information
-a Print IP addresses with connection information
-t Print associated task information
-g Print associated TPG information
-p Print portals with TPG information
-b Print associated buffer information
-S Print recent state events and transitions
-R Print reference count audit data
-v Verbose output about the connection
}}}
{{{
::iscsi_sess [-bctvIT]
Print out information associated with an iSCSI session
-I Print only initiator sessions
-T Print only target sessions
-c Print associated connection information
-a Print IP addresses with connection information
-t Print associated task information
-b Print associated buffer information
-S Print recent state events and transitions
-R Print reference count audit data
-v Verbose output about the connection
}}}
{{{
::iscsi_conn [-btvIT]
Print out information associated with an iSCSI connection
-I Print only initiator connections
-T Print only target connections
-a Print IP addresses with connection information
-t Print associated task information
-b Print associated buffer information
-S Print recent state events and transitions
-R Print reference count audit data
-v Verbose output about the connection
}}}
{{{
::iscsi_task [-bv]
Print out information associated with an iSCSI task
-b Print associated buffer information
-S Print recent state events and transitions
-R Print reference count audit data
-v Verbose output about the connection
}}}
{{{
::iscsi_refcnt
Dump an idm_refcnt_t structure
}}}
{{{
::iscsi_states
Dump events and state transitions recoreded in an idm_sm_audit_t structure
}}}
Example output:
{{{
> ::iscsi_conn -tb
idm_conn_t Type State/FFP
ffffff00ca18eac0 Tgt 5/1
Tasks/Active: Private Exp SN
ffffff00e94834f8/1 ffffff00e947f600 00000006
In buffers:
Out buffers:
idm_buf_t Mem Rgn/Length Rel Off Xfer Len Exp. Off
ffffff00e9485280 ffffff00fc431000/00020000 a0000 20000 000a0000
ffffff00e9483298/1 ffffff00e947f500 00000001
In buffers:
Out buffers:
idm_buf_t Mem Rgn/Length Rel Off Xfer Len Exp. Off
ffffff00e9485080 ffffff00fc4d4000/00020000 0 20000 00000000
ffffff00e9483200/1 ffffff00e947f4c0 00000001
In buffers:
Out buffers:
idm_buf_t Mem Rgn/Length Rel Off Xfer Len Exp. Off
ffffff00e9485000 ffffff00fc4f5000/00020000 0 20000 00000000
ffffff00e9483168/1 ffffff00e947f480 00000001
In buffers:
Out buffers:
idm_buf_t Mem Rgn/Length Rel Off Xfer Len Exp. Off
ffffff00fc225f80 ffffff00fc516000/00020000 0 20000 00000000
}}}
Each line of output representing an object (conn, task, or buffer) begins with the address of that object so that you can use MDB to look at the object in more detail:
{{{
ffffff00fc225f80 ::print idm_buf_t
}}}
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.