免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3051 | 回复: 8
打印 上一主题 下一主题

谁动了我的内存???? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-29 16:39 |只看该作者 |倒序浏览
机器:hprx2620
cpu:ia64(安腾)
内存:2G
问题:安装完毕redhat5后,检测
[root@netdisk proc]# cat meminfo
MemTotal:       431104 kB
MemFree:         39968 kB
Buffers:          9936 kB
Cached:          81712 kB
SwapCached:       5904 kB
Active:         116672 kB
Inactive:        44064 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       431104 kB
LowFree:         39968 kB
SwapTotal:     2031584 kB
SwapFree:      1975104 kB
Dirty:             272 kB
Writeback:           0 kB
AnonPages:       64576 kB
Mapped:          36096 kB
Slab:            29808 kB
PageTables:       4880 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2247136 kB
Committed_AS:   363088 kB
VmallocTotal: 137430563184 kB
VmallocUsed:     18064 kB
VmallocChunk: 137430543824 kB
[root@netdisk proc]# top
top - 00:36:01 up 18 min,  1 user,  load average: 0.00, 0.02, 0.08
Tasks:  96 total,   1 running,  94 sleeping,   0 stopped,   1 zombie
Cpu(s):  4.4%us,  4.2%sy,  0.0%ni, 88.8%id,  2.5%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:    431104k total,   391248k used,    39856k free,    10032k buffers
Swap:  2031584k total,    56480k used,  1975104k free,    81712k cached


3563 root      15   0  4736 2336 1760 R  0.8  0.5   0:00.01 top                                                                                             
    1 root      18   0  4464 1504 1344 S  0.0  0.3   0:02.87 init                                                                                            
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                                                    
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0                                                                                    
    4 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                      
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 events/0                                                                                       
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper                                                                                         
    7 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kthread                                                                                         
    9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenwatch                                                                                       
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenbus                                                                                          
   13 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0                                                                                       
   14 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid                                                                                          
  100 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0                                                                                       
  104 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khubd                                                                                          
  106 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod                                                                                         
  156 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                                                         
  157 root      15   0     0    0    0 S  0.0  0.0   0:00.02 pdflush                                                                                         
  158 root      10  -5     0    0    0 S  0.0  0.0   0:00.57 kswapd0                                                                                         
  159 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0                                                                                          
  284 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused                                                                                       
  327 root      12  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0                                                                                       
  328 root       0 -20     0    0    0 S  0.0  0.0   0:00.00 lpfc_worker_0                                                                                   
  329 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_wq_0                                                                                       
  330 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 fc_wq_0                                                                                         
  331 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 fc_dl_0                                                                                         
  340 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_1                                                                                       
  341 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_2                                                                                       
  342 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_3                                                                                       
  343 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_4                                                                                       
  352 root      14  -5     0    0    0 S  0.0  0.0   0:00.00 ksnapd                                                                                          
  355 root      10  -5     0    0    0 S  0.0  0.0   0:00.06 kjournald                                                                                       
  383 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kauditd                                                                                         
  412 root      15  -4  6048 1248  960 S  0.0  0.3   0:00.75 udevd                                                                                          
1300 root      12  -5     0    0    0 S  0.0  0.0   0:00.00 kmpathd/0                                                                                       
1385 root      19   0 63024 3408 2784 S  0.0  0.8   0:00.13 rc                                                                                             
1785 root      12  -3 14976 1568 1232 S  0.0  0.4   0:00.01 auditd                                                                                          
1787 root      12  -3 75008 8288 4576 S  0.0  1.9   0:00.05 python                                                                                          
1802 root      15   0 18608 1024  656 S  0.0  0.2   0:00.00 restorecond                                                                                    
1813 root      15   0  4560 1360 1200 S  0.0  0.3   0:00.02 syslogd                                                                                         
1816 root      15   0  4384 1040  880 S  0.0  0.2   0:00.00 klogd                                                                                          
1843 root      15   0  5680 1200 1040 S  0.0  0.3   0:00.06 mcstransd                                                                                       
1856 rpc       22   0  4752 1088 1072 S  0.0  0.3   0:00.00 portmap                                                                                         
1869 root      15   0  115m  10m 8480 S  0.0  2.5   0:00.31 setroubleshootd                                                                                 
1890 root      25   0  4768 1376 1360 S  0.0  0.3   0:00.01 rpc.statd                                                                                       
1926 root      18   0 13200  688  592 S  0.0  0.2   0:00.00 rpc.idmapd                                                                                      

[root@netdisk proc]# free -m
             total       used       free     shared    buffers     cached
Mem:           421        382         38          0          9         79
-/+ buffers/cache:        292        128
Swap:         1983         55       1928

[root@netdisk proc]# dmidecode 2.7
# SMBIOS entry point at 0x3fefc000
SMBIOS 2.3 present.

Handle 0x0005, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0004
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM 0A
        Bank Locator: Rank 0
        Type: DDR
        Type Detail: Fast-paged Synchronous
        Speed: Unknown
        Manufacturer: HP
        Serial Number: 4da2368
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0006, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0004
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM 0B
        Bank Locator: Rank 0
        Type: DDR
        Type Detail: Fast-paged Synchronous
        Speed: Unknown
        Manufacturer: HP
        Serial Number: 4da2337
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0007, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0004
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM 1A
        Bank Locator: Rank 0
        Type: DDR
        Type Detail: Fast-paged Synchronous
        Speed: Unknown
        Manufacturer: HP
        Serial Number: 4da233e
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0008, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0004
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM 1B
        Bank Locator: Rank 0
        Type: DDR
        Type Detail: Fast-paged Synchronous
        Speed: Unknown
        Manufacturer: HP
        Serial Number: 4da2348
        Asset Tag: Not Specified
        Part Number: Not Specified

Handle 0x0009, DMI type 17, 27 bytes.
Memory Device
        Array Handle: 0x0004
        Error Information Handle: Not Provided
        Total Width: Unknown
        Data Width: Unknown
        Size: No Module Installed
        Form Factor: DIMM
        Set: 2
        Locator: DIMM 2A
        Bank Locator: Rank 1
请教各位老大,明明机器物理内存为2G,但是现在只剩下400M了,其他内存那里去了?
望给我解惑,不胜感激!!

[ 本帖最后由 gms168 于 2008-9-29 16:45 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-09-29 23:09 |只看该作者
建议你跑下
vmstat 1
ps -ef
找出真凶

论坛徽章:
0
3 [报告]
发表于 2008-09-30 10:39 |只看该作者
谢谢楼上兄弟的指点,我试试看

论坛徽章:
0
4 [报告]
发表于 2008-09-30 13:05 |只看该作者
是的好好研究 内存这个东西 linux一般情况占用很少的……

论坛徽章:
0
5 [报告]
发表于 2008-10-01 19:28 |只看该作者
问题解决了,谢谢各位兄弟了,问题原因是虚拟机占用了内存

论坛徽章:
0
6 [报告]
发表于 2008-10-01 21:50 |只看该作者
xm top查看是否是XEN使用了

论坛徽章:
0
7 [报告]
发表于 2008-10-01 23:32 |只看该作者
难道虚拟机占用的不是在free显示的范围之内吗?

论坛徽章:
0
8 [报告]
发表于 2008-10-01 23:59 |只看该作者
刚装的系统就这样了??、

论坛徽章:
0
9 [报告]
发表于 2012-02-18 23:26 |只看该作者
你好朋友我这里也有有一台这样的小型机但是就是无法安装系统,请求你的帮助我的qq1504337307非常想得到您的帮助
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP