objprint

摘要

显示指定对象的状态信息。信息内容因对象类型而异,但通常包括属性值和统计值。

语法

objprint <objref> [low-level | detail]

参数 类型 说明
<objref> integer or string 关注对象的数字对象 ID 或层次名称
该参数的对象 ID 可通过 ODB 命令 objmap 或 objid 获取。
low-level n/a 仅显示对象的低层属性。
detail n/a 为某些类型的对象包含附加细节(见详细说明)。

详细说明

该命令显示的信息类型包括:

  • 与模块关联的进程(类似于 promap 的输出)
  • 由内核过程 op_intrpt_disable() 在特定进程禁用的中断类型
  • 由内核过程 op_intrpt_type_register() 为特定进程注册的中断类型,或由内核过程 op_intrpt_port_register() 注册的中断类型/端口组合
  • 由内核过程 op_intrpt_priority_set() 或 op_intrpt_priority_set_next() 分配的中断优先级
  • 所包含的 Packet
  • 所连接的数据包流
  • 子对象的对象 ID(如信道和子队列)
  • 所连接的统计连线
  • 对于 3DNV:站点的实体 ID;通信信道的发射机与接收机 ID

属性值在适当时包含单位。来自符号映射的值显示为 <symbol> (= <value> [<unit>]).

detail 参数会为某些对象类型附加额外信息。例如,对无线电发射机和接收机信道对象,会显示当前流水线阶段的结果。

注意: 无线电发射机和接收机信道的流水线阶段信息仅对支持“unformatted”Packet 格式的信道显示。

该命令早期版本的别名(modprint)仍然受支持。

示例

ODB> objprint “Office Network”.node_14.gen

____________________________________________________________
Attributes
	object type              : processor
	object ID                : 45
	parent object ID         : 2
	name                     : rx_proc
	hierarchical name        : top.Office Network.node_20.rx_proc
	priority                 : 0
	super priority           : disabled
	process model            : cct_rx_ref
	intrpt interval          : disabled
	begsim intrpt            : disabled
	endsim intrpt            : enabled
	failure intrpts          : disabled
	recovery intrpts         : disabled
____________________________________________________________
1 Active Process
	#  process ID  process model  process tag
	-  ----------  -------------  -----------
	0           0  cct_rx_ref     (none)
	No disabled interrupts
____________________________________________________________
Process Registration by Interrupt Type
	not in use
____________________________________________________________
Interrupt Priorities
	not in use
____________________________________________________________
1 Incoming packet stream
	#  Objid  Object name
	-  -----  ---------------------------------
	0     49  top.Office Network.node_20.strm_0
____________________________________________________________
0 Outgoing packet streams
ODB> objprint 9 detail

Attributes
	object type : radio tx channel
	object ID : 9
	.....

Destination channels (2)
	# Rxch ID   Rx ID Closure Path Loss(dB) Chan Match Tx Gain(dB) Prop Delay(s) Rx Gain(dB) Power(W)
	- ------- ------- ------- ------------- ---------- ----------- ------------- ----------- -----------
	0      23      21 true              N/A noise             0.00   0.000012611        0.00 8.84605e-07
	1      31      29 true              N/A noise             0.00   0.000014721        0.00 6.49195e-07
ODB> objprint 39245

Attributes
	object type           : pt-pt receiver
	object ID             : 39245
	parent object ID      : 462
	name                  : eth_rx_1
	hierarchical name     : top.Airport Network.Concourse E.Gate E5 AP.eth_rx_1
	channel count         : 1
	ecc threshold         : 0.0
	link objid            : 685
	remote tx objid       : 38,134
	channel               : #39246

1 Channel
	#  Objid
	-  -----
	0  39247

0 Incoming packet streams

1 Outgoing packet stream
	#  Objid  Object name
	-  -----  -----------------------------------------------------------
	0  39257  ...Airport Network.Concourse E.Gate E5 AP.eth_rx_1_to_mac_1

RATX:
Attributes
	object type		          : radio transmitter
	object ID		              : 45018
	parent object ID      : 542
	name                  : wlan_port_tx0
	hierarchical name     : top.Airport Network.Concourse E.STA_79.wlan_port_tx0
	channel count         : 1
	modulation            : dpsk
	rxgroup model         : wlan_rxgroup
	txdel model           : wlan_txdel
	closure model         : dra_closure
	chanmatch model       : wlan_chanmatch
	tagain model          : NONE
	propdel model         : wlan_propdel
	channel               : #45019

1 Channel
	#  Objid  Tx Queue Length (pkts)
	-  -----  ----------------------
	0  45020                       0

1 Incoming packet stream
	#  Objid  Object name
	-  -----  ---------------------------------------------
	0  45021  top.Airport Network.Concourse E.STA_79.strm_3

0 Outgoing packet streams

PROC:
Attributes
	object type           : processor
	object ID             : 45014
	parent object ID      : 542
	name                  : wlan_mac_intf
	hierarchical name     : top.Airport Network.Concourse E.STA_79.wlan_mac_intf
	priority              : 0
	super priority        : disabled
	process model         : wlan_mac_interface
	intrpt interval       : disabled
	endsim intrpt         : disabled
	failure intrpts       : disabled
	recovery intrpts      : disabled
	begsim intrpt         : enabled
	Destination Address   : -2
	Type of Service       : Best Effort (= 0

1 Active Process
	#  process ID  process model       process tag
	-  ----------  ------------------  -----------
	0        2182  wlan_mac_interface  (none)

Interrupt Controls by Process
	not in use

Process Registration by Interrupt Type
	not in use

Interrupt Priorities
	not in use

2 Incoming packet streams
	#  Objid  Object name
	-  -----  ----------------------------------------------
	0  45023  top.Airport Network.Concourse E.STA_79.strm_10
	1  45026  top.Airport Network.Concourse E.STA_79.strm_13

2 Outgoing packet streams
	#  Objid  Object name
	-  -----  ----------------------------------------------
	0  45024  top.Airport Network.Concourse E.STA_79.strm_11
	1  45025  top.Airport Network.Concourse E.STA_79.strm_12

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com