1G 那么多,我的 vps 才 256m 内存照用 CentOS7 无误! 当然内核是 2.6
[root@jialinwu ~]# top
top - 12:39:55 up 56 days, 17:49, 1 user, load average: 0.01, 0.04, 0.05
Tasks: 19 total, 1 running, 18 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.1 us, 0.1 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 262144 total, 207896 free, 0 used, 54248 buff/cache
KiB Swap: 131072 total, 84140 free, 46932 used. 162891 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 40896 1864 1276 S 0.0 0.7 0:27.61 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/303866
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/303866
74 root 20 0 36772 1860 1740 S 0.0 0.7 0:13.01 systemd-journal
100 dbus 20 0 26564 740 476 S 0.0 0.3 0:00.31 dbus-daemon
104 root 20 0 26612 952 716 S 0.0 0.4 0:08.18 systemd-logind
105 root 20 0 82512 336 236 S 0.0 0.1 0:01.30 sshd
132 root 20 0 6408 8 4 S 0.0 0.0 0:00.00 agetty
133 root 20 0 6408 8 4 S 0.0 0.0 0:00.00 agetty
367 root 20 0 101888 8 4 S 0.0 0.0 0:00.00 nginx
1573 root 20 0 203208 5220 1220 S 0.0 2.0 13:36.15 python
2662 root 20 0 329540 6528 2468 S 0.0 2.5 117:23.27 mongod
3108 nginx 20 0 103420 2740 1408 S 0.0 1.0 1:27.34 nginx
3169 root 20 0 118864 1912 844 S 0.0 0.7 7:15.31 supervisord
3801 root 20 0 50708 1252 384 S 0.0 0.5 0:21.51 main
10328 root 20 0 136676 5092 3856 S 0.0 1.9 0:00.03 sshd
10330 root 20 0 115440 2056 1568 S 0.0 0.8 0:00.01 bash
10351 root 20 0 155404 1968 1420 R 0.0 0.8 0:00.00 top
25125 root 20 0 41604 8 4 S 0.0 0.0 0:00.00 systemd-udevd
[root@jialinwu ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)