你看看ps -ef|grep qemu-kvm
2014-06-17 10:59 GMT+02:00 Yujiang Pang <yujiang.p...@tieto.com>: > Hi all, > > 我发现一台装好KVM的host比较慢,有两个qemu-kvm进程占用内存太高,如下: > > 这种情况正常吗? > > {{ > > top - 16:55:53 up 6 days, 23:25, 3 users, load average: 0.00, 0.00, 0.00 > Tasks: 196 total, 1 running, 195 sleeping, 0 stopped, 0 zombie > Cpu(s): 0.8%us, 0.5%sy, 0.0%ni, 98.2%id, 0.5%wa, 0.0%hi, 0.0%si, > 0.0%st > Mem: 1920612k total, 1824932k used, 95680k free, 102468k buffers > Swap: 4128760k total, 520924k used, 3607836k free, 314224k cached > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 13138 root 20 0 1819m 416m 4872 S 1.0 22.2 29:09.82 qemu-kvm > 12994 root 20 0 2326m 409m 4872 S 0.3 21.9 22:08.52 qemu-kvm > 12760 root 20 0 2189m 107m 9572 S 1.0 5.7 5:27.47 jsvc > 1861 root 20 0 202m 31m 6392 S 0.0 1.7 0:18.66 Xorg > 2096 john 20 0 474m 15m 7988 S 0.0 0.8 0:00.42 nautilus > 2162 john 20 0 451m 10m 7920 S 0.0 0.6 0:08.35 clock-applet > 2073 john 20 0 496m 10m 6248 S 0.0 0.6 0:22.92 > gnome-settings- > 2092 john 20 0 321m 10m 7592 S 0.0 0.6 0:16.97 gnome-panel > 2177 john 20 0 288m 10m 7076 S 0.0 0.5 0:00.10 gnome-terminal > 17124 root 20 0 1008m 9.9m 3828 S 0.0 0.5 0:00.46 libvirtd > 2129 john 20 0 458m 9896 7292 S 0.0 0.5 0:00.87 > gpk-update-icon > 2140 john 20 0 359m 9812 7088 S 0.0 0.5 0:00.04 > gnome-volume-co > > }} > > 我用的测试小PC, 2G内存,这样的话内存基本完了: > {{ > [root@kvmhost1 ~]# free -m > total used free shared buffers cached > Mem: 1875 1783 91 0 100 306 > -/+ buffers/cache: 1376 498 > Swap: 4031 508 3523 > }} > > -- > BR John Pang >