Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Monitoring Memory Management Protection Information


    Display information about memory management protection of the router.

    Note: You can use the show memory-management protection command only in the support mode and it is not user configurable.


    To display information about memory management protection of the router:

    host1#show memory-management protection 
    Mgr summary: 
      memory protection mode: 2 (app-level protection, audit only) 
      stacks excluded: true 
      allowed faults: 
        interrupt: yes 
        kernel:    yes 
        shell:     yes 
        vxWorks:   yes 
        OsTask:    yes 
      error conditions: 
         fault ring full      0 
         reversion queue full 0 
         memProtLock count: 1 
         maxReversionQueueDepth: 0 
         context switch stack: 0xaa2646c 
    Mmu driver summary: 
      page size: 4096 
      total memory mapped: 0x80436000 (2052MB, 525366 pages) 
      highest mapped address: 0xffffffff 
    Page table summary: 
        8388608 (2^23) bytes 
        1048576 entries 
        131072 groups 
      address: 0x2c000000 
      findEntry errors: 0 
    Context stats: 
       current    145 
       high-water 149 
       accum      244 (0 Hz) 
    Fault summary: 
      faulter counts: 
        interrupt 0 
        kernel    0 
        shell     0 
        vxWorks   0 
        OsTask    0 
        normal    0 
    Rule stats: 
      current    256 
      high-water 258 
      accum      28 (0 Hz) 
      partialPagesIgnored 0 
      partialPagesExtended 0 


    Table 1 lists the show memory-management protection command output fields.

    Table 1: show memory-management protection Output Fields

    Field Name

    Field Description

    Mgr summary

    Information about the OS Memory Manager memory protection mode:

    • memory protection mode—There are four modes of this protection:
      • 0 (disable)—Disable all memory protection
      • 1 (basic)—no app-level protection
      • 2 (audit)—violations are logged but non-fatal
      • 3 (fault)—violations are fatal
    • stacks excluded—States if the stacks are excluded
    • allowed faults—States the different faults allowed for this mode (applicable only for mode 2 and 3):
      • interrupt—Interrupts the service routine
      • kernel—vxWorks kernel task
      • shell—vxWorks shell task
      • vxWorks—Generic vxWorks task
      • OsTask—Real OsTask
    • error conditions—Information about the several error counters and their values:
      • fault ring full—Counter for the fault ring is full
      • reversion queue full—Counter for the reversion queue is full
      • memProtLock count—Counter for the memory protection lock
      • maxReversionQueueDepth—Counter for the maximum possible depth for the reversion queue
      • context switch stack—Address for the context switch stack

    Mmu driver summary

    Information about the page size, total memory mapped, and the highest mapped address:

    • page size—Size of the page managed by the MMU
    • total memory mapped—Total amount of mapped memory
    • highest mapped address—Highest mapped address in the range

    Page table summary

    Information about the page table size along with the address and entry errors if any:

    • size—Size of the page table in bytes, entry count, and group count
    • address—Group address
    • findEntry errors—Count for the findEntry errors

    Context stats

    Information about the memory utilization of context switching stack (applicable only for mode 2 and 3):

    • current—Current count
    • high-water—High-water mark count for the context
    • accum—Accumulated count for the context

    Fault summary

    Information about the fault counters (applicable only for mode 2 and 3):

    • faulter counts—Details of counts for fault types:
      • interrupt—Fault counter for the interrupt type
      • kernel—Fault counter for the kernel type
      • shell—Fault counter for the shell type
      • vxWorks—Fault counter for the vxWorks type
      • OsTask—Fault counter for the OsTask type
      • normal—Non-fault count

    Rule stats

    Statistics related to the access policies of the memory area:

    • current—Current rule count
    • high-water—Rule statistics for the high-water mark count
    • accum—Rule statistics for the accumulated count
    • partialPagesIgnored—Count for ignored partial pages
    • partialPagesExtended—Count for extended partial pages

    Published: 2014-08-12