linux+free内存使用率,Linux free显示高内存使用率但top不显示

在RedHat Linux 6.2上,我正在运行free -m,它显示几乎所有8GB使用的

total used free shared buffers cached

Mem: 7989 7734 254 0 28 7128

-/+ buffers/cache: 578 7411

Swap: 4150 0 4150

但同时在top -M我看不到使用所有这些内存的任何进程:

top - 16:03:34 up 4:10, 2 users, load average: 0.08, 0.04, 0.01

Tasks: 169 total, 1 running, 163 sleeping, 5 stopped, 0 zombie

Cpu(s): 0.7%us, 0.3%sy, 0.0%ni, 98.6%id, 0.4%wa, 0.0%hi, 0.0%si, 0.0%st

Mem: 7989.539M total, 7721.570M used, 267.969M free, 28.633M buffers

Swap: 4150.992M total, 0.000k used, 4150.992M free, 7115.312M cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

1863 sroot 20 0 398m 24m 9.8m S 0.3 0.3 3:12.87 App1

1 sroot 20 0 2864 1392 1180 S 0.0 0.0 0:00.91 init

2 sroot 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd

3 sroot RT 0 0 0 0 S 0.0 0.0 0:00.07 migration/0

4 sroot 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0

5 sroot RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0

6 sroot RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0

7 sroot RT 0 0 0 0 S 0.0 0.0 0:00.08 migration/1

8 sroot RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1

我也试过这个ps mem脚本,但是它显示了大约400MB的内存被使用.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值