Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet

Page of 1214
 
9-35
思科 ASA 系列命令参考,命令
 
 9       show isakmp ipsec-over-tcp stats  show mroute 命令
  show memory
 show memory detail 命令输出中,已分配内存统计合计(字节)列中显示的值未反映实际值 
(MEMPOOL_GLOBAL_SHARED POOL STATS)。
输出表明,先分配了大小为
 49,152 的块,随后该块返回到空闲池,并分配了另一个大小为 
131,072 的块。在这种情况下,您会认为空闲内存减少了 131,072-49,152=81,920 字节,但实际上
减少了
 100,000 字节(请参阅 Free memory 行)。
ciscoasa# show memory detail
MEMPOOL_GLOBAL_SHARED POOL STATS:            MEMPOOL_GLOBAL_SHARED POOL STATS:
Non-mmapped bytes allocated =   1862270976   Non-mmapped bytes allocated =   1862270976
Number of free chunks       =           99   Number of free chunks       =          100
Number of mmapped regions   =            0   Number of mmapped regions   =            0
Mmapped bytes allocated     =            0   Mmapped bytes allocated     =            0
Max memory footprint        =   1862270976   Max memory footprint        =   1862270976
Keepcost                    =   1762019304   Keepcost                    =   1761869256
Max contiguous free mem     =   1762019304   Max contiguous free mem     =   1761869256
Allocated memory in use     =    100133944   Allocated memory in use     =    100233944
Free memory                 =   1762137032   Free memory                 =   1762037032
----- fragmented memory statistics -----     ----- fragmented memory statistics -----
 fragment size       count          total     fragment size       count          total
    (bytes)                        (bytes)       (bytes)                        (bytes)
----------------  ----------  -------------- ----------------  ----------  --------------
        32768             1          33176           32768             1          33176
                                                     49152             1          50048
   1762019304             1     1762019304*     1761869256             1     1761869256*
----- allocated memory statistics -----      ----- allocated memory statistics -----
 fragment size       count          total     fragment size       count          total
    (bytes)                        (bytes)       (bytes)                        (bytes)
----------------  ----------  -------------- ----------------  ----------  --------------
        49152            10         491520           49152             9         442368
        65536           125        8192000           65536           125        8192000
        98304             3         294912           98304             3         294912
       131072            18        2359296          131072            19        2490368
以下输出确认分配了大小为
 150,000 而不是 131,072 的块:
ciscoasa# show memory binsize 131072
MEMPOOL_DMA pool bin stats:
MEMPOOL_GLOBAL_SHARED pool bin stats:
pc = 0x8eda524, size = 150000   , count = 1   
pc = 0x8f08054, size = 163904   , count = 1   
pc = 0x846e477, size = 139264   , count = 1   
pc = 0x8068691, size = 393216   , count = 3   
pc = 0x8eea09b, size = 131072   , count = 1   
pc = 0x88ca830, size = 141212   , count = 1   
pc = 0x9589e93, size = 593580   , count = 4   
pc = 0x9589bd2, size = 616004   , count = 4   
pc = 0x8f2e060, size = 327808   , count = 2   
pc = 0x8068284, size = 182000   , count = 1   
0x8eda524 <logger_buffer_init_int+148 at syslog/main.c:403>