• 查看内存信息


    查看内存信息常用命令:

    console:/ # cat /proc/cmdline
    ......
    console:/ # cat /proc/buddyinfo
    //描述了每个zone中对应于每个阶的空闲内存页块的数目,从左到右阶数依次升高。
    Node 0, zone    DMA32    581    210    97    46    17      5      4      3      9      5    119
    
    console:/ # cat /proc/pagetypeinfo
    Page block order: 10
    Pages per block:  1024
    Free pages count per migrate type at order      0      1      2      3      4      5      6      7      8      9    10
    Node    0, zone    DMA32, type    Unmovable    23      5    11    12    12    10      4      5      3      1      0
    Node    0, zone    DMA32, type      Movable    100    91    11      7    12      9      6      5      9      7    107
    Node    0, zone    DMA32, type  Reclaimable    33      1      0      0      0      0      1      1      1      1      0
    Node    0, zone    DMA32, type          CMA    14      1      0      0      1      1      1      1      1      0      0
    Node    0, zone    DMA32, type  HighAtomic      0      0      0      0      0      0      0      0      0      0      0
    Node    0, zone    DMA32, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
    Number of blocks type    Unmovable      Movable  Reclaimable          CMA  HighAtomic      Isolate
    Node 0, zone    DMA32          259          198          12            6            0            0
    console:/ #
    
    console:/ # cat /proc/meminfo
    MemTotal:        1886676 kB
    MemFree:          486588 kB
    MemAvailable:    1201768 kB
    Buffers:          31048 kB
    Cached:          665252 kB
    SwapCached:            0 kB
    Active:          474260 kB
    Inactive:        519408 kB
    Active(anon):    299704 kB
    Inactive(anon):    2804 kB
    Active(file):    174556 kB
    Inactive(file):  516604 kB
    Unevictable:        2640 kB
    Mlocked:            2640 kB
    SwapTotal:        511996 kB
    SwapFree:        511996 kB
    Dirty:                0 kB
    Writeback:            0 kB
    AnonPages:        300004 kB
    Mapped:          404656 kB
    Shmem:              3092 kB
    KReclaimable:      79880 kB
    Slab:            108496 kB
    SReclaimable:      45080 kB
    SUnreclaim:        63416 kB
    KernelStack:      21792 kB
    PageTables:        34804 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:    1455332 kB
    Committed_AS:  27662588 kB
    VmallocTotal:  263061440 kB
    VmallocUsed:      84240 kB
    VmallocChunk:          0 kB
    Percpu:            1040 kB
    CmaTotal:          24576 kB
    CmaFree:            2048 kB
    console:/ #
  • 相关阅读:
    关于开发BugRaid的想法(2)
    杭州.net俱乐部第一次见面会情况
    关于Bug管理的过程
    关于开发BugRaid的想法(1)
    变态的VS2005 SP1
    vs2003 sp1 download url
    proxy software
    敏捷开发
    Enterprise Library文档
    ETL
  • 原文地址:https://www.cnblogs.com/sunnycindy/p/14978823.html
Copyright © 2020-2023  润新知