Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15498860
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: 嵌入式

2009-08-08 22:52:23

# cat /proc/meminfo
MemTotal:          60892 kB
MemFree:           52304 kB
Buffers:               0 kB
Cached:             5360 kB
SwapCached:            0 kB
Active:             1652 kB
Inactive:           4104 kB
Active(anon):        396 kB
Inactive(anon):        0 kB
Active(file):       1256 kB
Inactive(file):     4104 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:           424 kB
Mapped:              756 kB
Slab:               1868 kB
SReclaimable:        976 kB
SUnreclaim:          892 kB
PageTables:           72 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       30444 kB
Committed_AS:       1092 kB
VmallocTotal:     917504 kB
VmallocUsed:       33192 kB
VmallocChunk:     876540 kB
# cd -
/proc
# cat /proc/meminfo
MemTotal:          60892 kB
MemFree:           52304 kB
Buffers:               0 kB
Cached:             5360 kB
SwapCached:            0 kB
Active:             1652 kB
Inactive:           4104 kB
Active(anon):        396 kB
Inactive(anon):        0 kB
Active(file):       1256 kB
Inactive(file):     4104 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:           424 kB
Mapped:              756 kB
Slab:               1872 kB
SReclaimable:        976 kB
SUnreclaim:          896 kB
PageTables:           72 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       30444 kB
Committed_AS:       1092 kB
VmallocTotal:     917504 kB
VmallocUsed:       33192 kB
VmallocChunk:     876540 kB
代码位于fs/proc/meminfo.c
module_init(proc_meminfo_init);
阅读(1671) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~