[Linux系统]查看内存的几种方式

1、 cat /proc/meminfo
2、free -m
3、vmstat -s
4、
ps命令可以实时的显示各个进程的内存使用情况。Reported memory usage information includes %MEM (percent of physical memory used), VSZ (total amount of virtual memory used), and RSS (total amount of physical memory used)。可以使用 “–sort”选项对进程进行排序,例如按RSS进行排序:
ps aux --sort -rss
5、top

posted @ 2016-12-14 16:06  joangaga  阅读(310)  评论(0编辑  收藏  举报