cmm show mem
Function
Example
-
View basic information about memory managed by the CMM module.
admin:/diagnose>cmm show mem node 0 cpu set : 12 (0-11) node 0 memory range 0 : 0xffff880138290000 ~ 0xffff880c47d70000 ( 44G 250M 896K) node 0 total size : 0xb0fae0000 ( 44G 250M 896K) CMM total size: 0xb0fae0000 ( 44G 250M 896K)
-
View the usage of memory managed by the CMM module.
admin:/diagnose>cmm show mem usage Mem usage of Node 0 Seg 0 ------------------------------------------------------------- Addr ffff8801a44a4000 ~ ffff8801a8004000 ( 3b60000 : 59M 384K) : CMM Track Ctrl Addr ffff8801a8004000 ~ ffff8801a820c000 ( 208000 : 2M 32K) : Free Area Addr ffff8801a820c000 ~ ffff8801aa7a0000 ( 2594000 : 37M 592K) : CMM Meta(cmm part struct data) Addr ffff8801aa7a0000 ~ ffff8801aa7a4000 ( 4000 : 16K) : CMM Meta(cmm page exp part data) Addr ffff8801aa7a4000 ~ ffff8801aa7ac000 ( 8000 : 32K) : Gloabl ZERO PAGE Ctrl & Data Addr ffff8801aa7ac000 ~ ffff8805807d4000 ( 3d6028000 : 15G 352M 160K) : USER Part Addr ffff8805807d4000 ~ ffff8805a5388000 ( 24bb4000 : 587M 720K) : Global PAGE Ctrl Addr ffff8805a5388000 ~ ffff88104dd40000 ( aa89b8000 : 42G 649M 736K) : Global PAGE Data Addr ffff88104dd40000 ~ ffff881073540000 ( 25800000 : 600M) : Global DYNC Pool Addr ffff881073540000 ~ ffff881073578000 ( 38000 : 224K) : Free Area Addr ffff881073578000 ~ ffff881073584000 ( c000 : 48K) : CMM Meta(dync part management) Addr ffff881073584000 ~ ffff88107d984000 ( a400000 : 164M) : CMM Meta(cmm alloc/free hist entry area) Addr ffff88107d984000 ~ ffff88107d9b4000 ( 30000 : 192K) : CMM Meta(cmm page lock pool) Addr ffff88107d9b4000 ~ ffff88107d9b8000 ( 4000 : 16K) : CMM Meta(cmm error record area) Addr ffff88107d9b8000 ~ ffff88107e9b8000 ( 1000000 : 16M) : CMM Meta(log data area) Addr ffff88107e9b8000 ~ ffff88107e9bc000 ( 4000 : 16K) : CMM Meta(log ctrl) Addr ffff88107e9bc000 ~ ffff88107f474000 ( ab8000 : 10M 736K) : CMM Meta(cmm stat info area) Addr ffff88107f474000 ~ ffff88107fefc000 ( a88000 : 10M 544K) : Rsvd Memory Addr ffff88107fefc000 ~ ffff88107fffc000 ( 100000 : 1M) : CMM Meta(cmm manager meta data)
-
View the physical address and size of the CMM KDUMP.
admin:/diagnose>cmm show mem usage kdump 0x138290000-0x4a24000 0xc3bd9c000-0xb44c000 0xc47c70000-0x100000 0x13ccb4000-0x8000 0x429d78000-0x16d64000 0xc471e8000-0xa88000 0x13ccbc000-0x2ed0bc000 0xbfbd80000-0x40000000 0x440adc000-0x7bb2a4000
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
node 0 cpu set | CPU set of NUMA node 0. |
node 0 memory range 0 | Memory range of NUMA node 0. |
node 0 total size | Memory size of NUMA node 0. |
CMM total size | Total size of memory managed by the CMM module. |
Mem usage of Node 0 Seg 0 | Usage of memory segment 0 of NUMA node 0. |