[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

原文地址:https://www.cnblogs.com/joangaga/p/6179727.html