dcmds
[ address ] ::ptms [-v] [-f flag] [-F flag]
pseudo-terminal(擬似端末) の情報を表示します。
> ::ptms -v
ADDR PTY FL MASTERQ SLAVEQ ZID PID PROC
000003001bcadf08 1 6 0000030016eb1a40 00000300179252d8 0 1579 sshd
|
+--> PTMOPEN Master side is open
PTSOPEN Slave side is open
::sd_state [-s]
sd soft state のリストを表示します。
> ::sd_state
walk_addr = ffffff00cea84ec8
walking sd_state units via ptr: ffffff00c8dc7840
32 entries in sd_state table
un 0: ffffff00c6db06c0
--------------
{
un_sd = 0xffffff00ce042280
un_rqs_bp = 0
un_rqs_pktp = 0
un_sense_isbusy = 0
un_buf_chain_type = 0x2
un_uscsi_chain_type = 0x6
un_direct_chain_type = 0x8
un_priority_chain_type = 0x9
un_waitq_headp = 0
un_waitq_tailp = 0
un_retry_bp = 0
un_retry_statp = 0
un_xbuf_attr = 0xffffff00c8332080
un_sys_blocksize = 0x200
un_tgt_blocksize = 0x200
un_phy_blocksize = 0x200
:
:
un_wcc_cv = {
_opaque = 0
}
un_cmlbhandle = 0xffffff00ca6a7000
un_fm_private = 0xffffff00c75f0a80
}
---
XBUF ATTR:
----------
0xffffff00c8332080: mutex allocsize pending
0 128 0
0xffffff00c8332094: active_limit active_count active_lowater
200 0 100
0xffffff00c83320a0: headp tailp
0 0
0xffffff00c83320b0: reserve_mutex reserve_limit reserve_count reserve_headp
0 10 0 0
0xffffff00c83320d8: timeid tq
0 ffffff00ce816258
---
XBUF Q:
-------
xbuf Q head: 0
---------------------------
Processed 0 XBUF Q entries
---------------------------
UN WAIT Q:
----------
UN wait Q head: 0
------------------------------
Processed 0 UN WAIT Q entries
------------------------------
un 1: 0
--------------
un 2: 0
--------------
:
:
un 31: 0
--------------
---------------------------
Processed 1 UN softstate entries
---------------------------
::vhci_states [-v]
全ての vhci state ポインタを表示します。
> ::vhci_states -v
Softstate size is 256(0x100) bytes.
state pointer instance
============= ========
0xffffff00c8d76e40::print struct scsi_vhci 0
vhci_conf_flags: 1
VHCI_CONF_FLAGS_AUTO_FAILBACK
::vhciguid
全てのクライアント、または GUID を指定したクライアントのリストを表示する
> ::vhciguid
----------------- mdi_vhci_head @ 0xffffff00c8d8a780 ----------
----------------- class @ scsi_vhci----------
----- Number of devices found 0 ----------
----hash[0] 0xffffff00c9fd2000: devices mapped = 0 --
----hash[1] 0xffffff00c9fd2010: devices mapped = 0 --
----hash[2] 0xffffff00c9fd2020: devices mapped = 0 --
----hash[3] 0xffffff00c9fd2030: devices mapped = 0 --
----hash[4] 0xffffff00c9fd2040: devices mapped = 0 --
----hash[5] 0xffffff00c9fd2050: devices mapped = 0 --
----hash[6] 0xffffff00c9fd2060: devices mapped = 0 --
----hash[7] 0xffffff00c9fd2070: devices mapped = 0 --
----hash[8] 0xffffff00c9fd2080: devices mapped = 0 --
----hash[9] 0xffffff00c9fd2090: devices mapped = 0 --
----hash[10] 0xffffff00c9fd20a0: devices mapped = 0 --
----hash[11] 0xffffff00c9fd20b0: devices mapped = 0 --
----hash[12] 0xffffff00c9fd20c0: devices mapped = 0 --
----hash[13] 0xffffff00c9fd20d0: devices mapped = 0 --
----hash[14] 0xffffff00c9fd20e0: devices mapped = 0 --
----hash[15] 0xffffff00c9fd20f0: devices mapped = 0 --
----hash[16] 0xffffff00c9fd2100: devices mapped = 0 --
----hash[17] 0xffffff00c9fd2110: devices mapped = 0 --
----hash[18] 0xffffff00c9fd2120: devices mapped = 0 --
----hash[19] 0xffffff00c9fd2130: devices mapped = 0 --
----hash[20] 0xffffff00c9fd2140: devices mapped = 0 --
----hash[21] 0xffffff00c9fd2150: devices mapped = 0 --
----hash[22] 0xffffff00c9fd2160: devices mapped = 0 --
----hash[23] 0xffffff00c9fd2170: devices mapped = 0 --
----hash[24] 0xffffff00c9fd2180: devices mapped = 0 --
----hash[25] 0xffffff00c9fd2190: devices mapped = 0 --
----hash[26] 0xffffff00c9fd21a0: devices mapped = 0 --
----hash[27] 0xffffff00c9fd21b0: devices mapped = 0 --
----hash[28] 0xffffff00c9fd21c0: devices mapped = 0 --
----hash[29] 0xffffff00c9fd21d0: devices mapped = 0 --
----hash[30] 0xffffff00c9fd21e0: devices mapped = 0 --
----hash[31] 0xffffff00c9fd21f0: devices mapped = 0 --
----------done----------
walker
ptms
pseudo-tty のリストを調べて、pt_ttys 構造体に対して反復します。
> ::walk ptms |::print struct pt_ttys
{
ptm_rdq = 0x30016eb1a40
pts_rdq = 0x300179252d8
pt_nullmsg = 0x3001482f9e0
pt_pid = 0x62b
pt_minor = 0x1
pt_refcnt = 0
pt_state = 0x6
pt_cv = {
_opaque = 0
}
pt_lock = {
_opaque = [ 0 ]
}
pt_zoneid = 0
pt_ruid = 0
pt_rgid = 0x7
}
0 件のコメント:
コメントを投稿