---
+0 常用命令归纳:Linux/Oracle/JVM/Git
经常用到一些命令,还总是忘掉的,就简单列在这里。总是现查也挺麻烦的。
Linux:
top mem consumer: sudo ps -aux | sort -k4nr | head -5 or top, then press M
connection number: netstat -an | grep ESTABLISHED | wc –l
process number: ps -ef | wc -l
threads of a process: p
查看全文: http://www.udpwork.com/item/14829.html
Linux:
top mem consumer: sudo ps -aux | sort -k4nr | head -5 or top, then press M
connection number: netstat -an | grep ESTABLISHED | wc –l
process number: ps -ef | wc -l
threads of a process: p
查看全文: http://www.udpwork.com/item/14829.html