`

linux下查看内存使用情况

 
阅读更多
free -m | sed -n '2p' | awk '{print "used mem is "$3"M,total mem is "$2"M,used percent is "$3/$2*100"%"}'
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics