天天看點

linux 檢視網絡連接配接數

檢視連接配接

netstat -nat|grep ESTABLISHED
           

統計連接配接數,使用wc即可,-l 統計行數

netstat -nat | grep ESTABLISHED | wc -l