参考:20 Netstat Commands for Linux Network Management

Foreword

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

Options

-a:Show both listening and non-listening (for TCP this means established connections) sockets

-at:列出Active Internet connections (servers and established)

-au:列出Active Internet connections (servers and established)

-ax:列出Unix domain sockets

-l:Show only listening sockets.

-lt:列出Active Internet connections (only servers)

-lu:列出Active Internet connections (only servers)

-lx:列出Unix domain sockets

-s:Display summary statistics for each protocol.

-p:Show the PID and name of the program to which each socket belongs.

-c #:This will cause netstat to print the selected information every # seconds continuously.

-r:Display the kernel routing tables

Linux命令——netstat

-I=iface , -i:Display a table of all network interfaces, or the specified iface.

Linux命令——netstat

-ie:similar to ifconfig

Linux命令——netstat

 

相关文章:

  • 2021-09-22
  • 2021-07-30
  • 2022-01-12
  • 2022-12-23
  • 2022-01-12
  • 2021-06-21
  • 2022-01-05
猜你喜欢
  • 2021-06-05
  • 2021-11-07
  • 2021-09-19
  • 2021-08-04
  • 2021-07-10
  • 2022-02-23
  • 2022-12-23
相关资源
相似解决方案