linux下的内存检查有很多种,其中最常用的是top, 但是top的RSS显示的内存是不准确的 查看整个系统的内存可以用cat /proc/meminfo 查看某个进程的内存可以用cat /proc/<PID>/statm