dcmds
[ address ] ::rctl_dict
システム全体のデフォルト rctl の定義を表示します。
> ::rctl_dict
ID NAME ADDR TYPE GLOBAL_FLAGS
12 process.max-port-events 0000030005cb6380 process 0x20100000
11 process.max-msg-messages 0000030005cb63d0 process 0x20100000
10 process.max-msg-qbytes 0000030005cb6420 process 0x20400000
9 process.max-sem-ops 0000030005cb6470 process 0x20100000
8 process.max-sem-nsems 0000030005cb64c0 process 0x20100000
7 process.max-address-space 0000030005cb6510 process 0x62400000
6 process.max-file-descriptor 0000030005cb6560 process 0x60100000
5 process.max-core-size 0000030005cb65b0 process 0x62400000
4 process.max-stack-size 0000030005cb6600 process 0x62400000
3 process.max-data-size 0000030005cb6650 process 0x62400000
2 process.max-file-size 0000030005cb66a0 process 0x68400000
1 process.max-cpu-time 0000030005cb66f0 process 0x55200000
39 task.max-cpu-time 00000300062b9aa8 task 0x15a00000
38 task.max-processes 00000300062b9af8 task 0x00100000
37 task.max-lwps 00000300062b9b48 task 0x00100000
36 project.max-contracts 00000300062b9b98 project 0xa0100000
35 project.max-locked-memory 00000300062b9be8 project 0xa0400000
34 project.max-port-ids 00000300062b9c38 project 0xa0100000
33 project.max-shm-memory 00000300062b9c88 project 0xa0400000
32 project.max-shm-ids 00000300062b9cd8 project 0xa0100000
31 project.max-msg-ids 00000300062b9d28 project 0xa0100000
30 project.max-sem-ids 00000300062b9d78 project 0xa0100000
29 project.max-crypto-memory 00000300062b9dc8 project 0xa0400000
28 project.max-tasks 00000300062b9e18 project 0x80100000
27 project.max-processes 00000300062b9e68 project 0x80100000
26 project.max-lwps 00000300062b9eb8 project 0x80100000
25 project.cpu-cap 00000300062b9f08 project 0xa3180000
24 project.cpu-shares 00000300062b9f58 project 0x92180000
23 zone.max-lofi 0000030005cb6010 zone 0xa0100000
22 zone.max-swap 0000030005cb6060 zone 0xa0400000
21 zone.max-locked-memory 0000030005cb60b0 zone 0xa0400000
20 zone.max-shm-memory 0000030005cb6100 zone 0xa0400000
19 zone.max-shm-ids 0000030005cb6150 zone 0xa0100000
18 zone.max-sem-ids 0000030005cb61a0 zone 0xa0100000
17 zone.max-msg-ids 0000030005cb61f0 zone 0xa0100000
16 zone.max-processes 0000030005cb6240 zone 0x80100000
15 zone.max-lwps 0000030005cb6290 zone 0x80100000
14 zone.cpu-cap 0000030005cb62e0 zone 0xa3180000
13 zone.cpu-shares 0000030005cb6330 zone 0x92180000
address ::rctl_list [handle]
指定したプロセス(proc_t アドレス)の rctl の定義を表示します。
> 00000000018a62c0::rctl_list
00000300062bfc88 8 : process.max-sem-nsems
(cur) 0x200 privileged flags=<DENY>
0x7fff system flags=<DENY,MAX>
00000300062bfb38 1 : process.max-cpu-time
(cur) 0xffffffffffffffff system flags=<MAX>
00000300062bfcb8 9 : process.max-sem-ops
(cur) 0x200 privileged flags=<DENY>
0x7fffffff system flags=<DENY,MAX>
00000300062bfb68 2 : process.max-file-size
(cur) 0x7fffffffffffffff system flags=<DENY,MAX>
00000300062bfce8 10 : process.max-msg-qbytes
(cur) 0x10000 privileged flags=<DENY>
0xffffffffffffffff system flags=<DENY,MAX>
00000300062bfb98 3 : process.max-data-size
(cur) 0xffffffffffffffff system flags=<DENY,MAX>
:
:
::zone
kernel zone を表示します。
> ::zone
ADDR ID STATUS NAME PATH
fffffffffbcfc3c0 0 running global /
address ::zsd [-v] [zsd_key]
選択した zone の zone-specific-data entries を表示します。
> ::zsd -v
ZONE KEY VALUE FLAGS
global 13 ffffff00db095fa8 0
Create CB: 0
Shutdown CB: autofs_zone_shutdown
Destroy CB: autofs_zone_destructor
3 ffffff00c8a92778 4
Create CB: evch_zoneinit
Shutdown CB: 0
Destroy CB: evch_zonefree
10 ffffff00c8e3f150 4
Create CB: core_init_zone
Shutdown CB: 0
Destroy CB: core_free_zone
1 fffffffffbcfeb60 4
Create CB: log_zoneinit
Shutdown CB: 0
Destroy CB: log_zonefree
e ffffff00c923ec38 0
Create CB: 0
Shutdown CB: 0
Destroy CB: 0
2 ffffff00c77bbdc0 4
Create CB: netstack_zone_create
Shutdown CB: netstack_zone_shutdown
Destroy CB: netstack_zone_destroy
4 0000000000000000 0
:
:
walker
rctl_cache
rctl_cache の全ての rctl_t 構造体に対して反復適用します。
> ::walk rctl_cache |::print rctl_t rc_dict_entry
rc_dict_entry = 0x30005cb6650
rc_dict_entry = 0x30005cb6600
rc_dict_entry = 0x30005cb66a0
rc_dict_entry = 0x30005cb6650
rc_dict_entry = 0x30005cb6380
rc_dict_entry = 0x30005cb6470
:
:
rctl_dict_list
rctl_lists の rctl_dict_entry_t 構造体に対して反復適用します。
> ::walk rctl_dict_list |::print rctl_dict_entry_t rcd_name
rcd_name = 0x10dd5e8 "process.max-port-events"
rcd_name = 0x10dd5b8 "process.max-msg-messages"
rcd_name = 0x10dd588 "process.max-msg-qbytes"
rcd_name = 0x10dd560 "process.max-sem-ops"
rcd_name = 0x10dd530 "process.max-sem-nsems"
rcd_name = 0x10dd510 "process.max-address-space"
rcd_name = 0x10dd4f0 "process.max-file-descriptor"
:
:
rctl_val
指定した rctl_t の、rctl_val entries (rctl_val_t 構造体) に対して復適用します。
> ::walk rctl_cache |::walk rctl_val |::print rctl_val_t rcv_flagaction
rcv_flagaction = 0x80000002
rcv_flagaction = 0x80000002
rcv_flagaction = 0x80000003
rcv_flagaction = 0x80000002
rcv_flagaction = 0x80000002
rcv_flagaction = 0x80000002
rcv_flagaction = 0x2
rcv_flagaction = 0x80000002
rcv_flagaction = 0x2
:
:
rctl_val_cache
rctl_cache の全ての rctl_val_t 構造体に対して復適用します。
> ::walk rctl_val_cache |::print rctl_val_t rcv_flagaction
rcv_flagaction = 0x80000002
rcv_flagaction = 0x2
rcv_flagaction = 0x80000002
rcv_flagaction = 0x80000000
rcv_flagaction = 0x2
rcv_flagaction = 0x2
rcv_flagaction = 0x80000002
:
:
zone
kernel zones のリスト(zone_t 構造体)に対して反復適用します。
> ::walk zone |::print zone_t
{
zone_name = 0x12b88d0 "global"
zone_nodename = utsname+0x101 "t2kh1ldom2"
zone_domain = srpc_domain ""
zone_hostid = 0xffffffff
zone_lock = {
_opaque = [ 0 ]
}
zone_linkage = {
list_next = zone_active+0x10
list_prev = zone_active+0x10
}
zone_id = 0
zone_ref = 0x3e
zone_cred_ref = 0x5a
zone_subsys_ref = [ 0, 0, 0, 0x1, 0x2c, 0, 0x1, 0x1 ]
zone_ref_list = {
list_size = 0x18
list_offset = 0x8
list_head = {
list_next = 0x30017088968
list_prev = 0x300073cfea8
}
}
zone_rootvp = 0x30007095a40
zone_rootpath = 0x12b88d8 "/"
zone_flags = 0
zone_status = 4 (ZONE_IS_RUNNING)
:
:
zsd
zone_t 構造体のアドレスを指定して、zsd_entry 構造体に対して反復適用します。
> 198e4d0::walk zsd |::print struct zsd_entry zsd_shutdown
zsd_shutdown = autofs_zone_shutdown
zsd_shutdown = 0
zsd_shutdown = svc_zoneshutdown
zsd_shutdown = 0
zsd_shutdown = 0
zsd_shutdown = rfs_zone_shutdown
zsd_shutdown = 0
:
:
0 件のコメント:
コメントを投稿