Command netstat for Linux CentOS
Check only Port from command (ftp type = 21)
- netstat -nat | grep 80 or netstat -nat | grep 21
Check TCP
- netstat -n
Check routing
- netstat -rn
Check all port
- netstat -an | less
Check all TCP Port
- netstat -lt
Check all UDP Port
- netstat -lu
Check connection TCP Port
- netstat -at
Check connection UDP Port
- netstat -au
Count the conncection
- netstat -nat | grep 80 | wc -l
ไม่มีความคิดเห็น:
แสดงความคิดเห็น