系统内存信息:
free
vmstat
/proc/meminfo
进程内存信息:
top
/proc/<pid>/statm
/proc/<pid>/status
/proc/<pid>/maps
参考文章:http://www.freshblurbs.com/how-profile-memory-linux
转载于:https://blog.51cto.com/tanghuimin0713/771747
系统内存信息:
free
vmstat
/proc/meminfo
进程内存信息:
top
/proc/<pid>/statm
/proc/<pid>/status
/proc/<pid>/maps
参考文章:http://www.freshblurbs.com/how-profile-memory-linux
转载于:https://blog.51cto.com/tanghuimin0713/771747