netstat

Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships

copy
32
4
netstat -aTo display all sockets

details |

copy
4
0
netstat -i

source | details |

copy
26
4
netstat -an |grep :80 |wc -lTo display the number of active connections on port 80

details |

copy
15
0
netstat -s -p tcpThe following displays statistics for the TCP protocol

details |

copy
12
3
netstat -lTo display listening server sockets

details |

copy
11
3
netstat -eTo display extended information

details |

copy
10
3
netstat -s -p udpThe following displays statistics for the UDP protocol

details |

copy
10
3
netstat -rTo display the routing table.

details |

copy
10
1
netstat -sTo display networking statistics

details |

copy
9
1
netstat -o 4Displays active TCP connections and the process IDs every 4 seconds

details |

copy
8
1
netstat -rnDisplay routing table without resolving names

details |

copy
19
3
netstat -natpActive Internet connections (servers and established)

details |

copy
3
0
netstat -r

source | details |