deltrace

摘要

从挂起跟踪记录列表中删除指定的跟踪记录。如果传入参数 “all”,则删除全部挂起跟踪记录。

语法

deltrace <trace_id> | all

参数 类型 说明
<trace_id> 整数 目标跟踪记录的数字跟踪记录 ID
可使用 ODB 命令 status 获取该参数的跟踪记录 ID,它会按数字顺序列出所有挂起跟踪记录。
all 不适用 删除所有挂起跟踪记录。

详细说明

被删除的跟踪记录无法恢复。但跟踪记录可以通过 susptrace 命令暂停,并通过 acttrace 命令重新激活。跟踪记录 ID 是唯一的,在关联跟踪记录被删除后不会被重复使用。

示例

ODB> pktrace 100
Added trace #0: trace on packet with ID (100) (packet not in system)

ODB> pktrace 200
Added trace #1: trace on packet with ID (200) (packet not in system)

ODB> pktrace 40
Added trace #2: trace on packet with ID (40) (packet not in system)

ODB> status

Breakpoints :
      None


Traces :
      Full trace is disabled
      Encapsulation trace is enabled
      Execution trace is disabled
      Trace format: indented

          0)   trace on packet with ID (100) (packet not in system)
          1)   trace on packet with ID (200) (packet not in system)
          2)   trace on packet with ID (40) (packet not in system)


Actions :
	None


Miscellaneous :
      Memory tagging is disabled


ODB> deltrace 2
"trace on packet with ID (40) (packet not in system)" is deleted.

ODB> status

Breakpoints :
      None


Traces :
      Full trace is disabled
      Encapsulation trace is enabled
      Execution trace is disabled
      Trace format: indented

          0)   trace on packet with ID (100) (packet not in system)
          1)   trace on packet with ID (200) (packet not in system)


Actions :
	None


Miscellaneous :
      Memory tagging is disabled

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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