Analyze memory with crash with kdump

隐身守侯 提交于 2019-12-12 09:25:04

问题


I have a kdump that says

crash> kmem -i
              PAGES        TOTAL      PERCENTAGE
 TOTAL MEM   468778       1.8 GB         ----
      FREE     2107       8.2 MB    0% of TOTAL MEM
      USED   466671       1.8 GB   99% of TOTAL MEM
    SHARED   193447     755.7 MB   41% of TOTAL MEM
   BUFFERS      746       2.9 MB    0% of TOTAL MEM
    CACHED   186315     727.8 MB   39% of TOTAL MEM
      SLAB    26366       103 MB    5% of TOTAL MEM

TOTAL SWAP   273103         1 GB         ----
 SWAP USED    27566     107.7 MB   10% of TOTAL SWAP
 SWAP FREE   245537     959.1 MB   89% of TOTAL SWAP

which doesn't look like a user space process memory leak.

How can I see with crash what is using the memory? I'm suspecting page cache overflow.

Thanks


回答1:


You can just use the ps command from within the crash utility.



来源:https://stackoverflow.com/questions/10421865/analyze-memory-with-crash-with-kdump

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!