history

摘要

显示 ODB 命令历史列表的内容。

语法

history [<number>]

参数 类型 说明
<number> integer 要显示的命令数量,从最近的命令开始显示
默认值为 25。

详细说明

随着 ODB 命令的执行,它们会被记录到历史列表中。可以使用 ! 命令重新执行历史列表上显示的命令。已执行过的无效命令不会出现在历史列表中。

示例

...

breakpoint #0 trapped : "stop at time = (200) sec."

ODB> history
    Command History:

    0)      tstop 100
    1)      cont
    2)      objprint 54
    3)      tstop 200

ODB> ! 2

____________________________________________________________
Attributes
    object type         :   processor
    object ID           :   54
    parent object ID    :   3
    name	                :   (proc)
    priority            :   0
    super priority      :   disabled
    process model       :   pksw_nd_proc
    intrpt interval     :   disabled
    begsim intrpt       :   enabled
    endsim intrpt       :   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