source : QuickRef.Me
Aide | netstat -h |
---|
SWITCH | EXAMPLE | DESCRIPTION |
---|---|---|
-s | netstat -s | Display statistics |
-st | netstat -st | Display TCP statistics |
-su | netstat -su | Display UDP statistics |
SWITCH | EXAMPLE | DESCRIPTION |
---|---|---|
-ltunp | netstat -ltunp | All listening ports |
-ltn | netstat -ltn | TCP listening ports |
-lun | netstat -lun | UDP listening ports |
-lx | netstat -lx | Listening Unix ports |
SWITCH | EXAMPLE | DESCRIPTION |
---|---|---|
-i | netstat -i | Show network interfaces |
-ie | netstat -ie | Show network interfaces extended info |
SWITCH | EXAMPLE | DESCRIPTION |
---|---|---|
-a | netstat -a | All connections |
-at | netstat -at | TCP connections |
-au | netstat -au | UDP connections |
-anp | netstat -anp | grep :80 | All connections sur le port 80 |
SWITCH | EXAMPLE | DESCRIPTION |
---|---|---|
-r | netstat -r | Show routing table |
-rn | netstat -rn | Show routing table, don't resolve hosts |