1, free -m
 查看内存使用情况

ubuntu 查看内存和cpu使用情况

2,top 
查看cpu 和 内存 使用情况

ubuntu 查看内存和cpu使用情况

 

shift+H 查看线程数据 

 

3,查看线程

top -H -p pid

ubuntu 查看内存和cpu使用情况

相关文章: