How do I interpret 'netstat -a' output

后端 未结 7 1981
失恋的感觉
失恋的感觉 2021-01-30 22:40

Some things look strange to me:

  • What is the distinction between 0.0.0.0, 127.0.0.1, and [::]?
  • How should each part of the foreign address be read (part1:p
7条回答
  •  后悔当初
    2021-01-30 23:06

    Send-Q is the amount of data sent by the application, but not yet acknowledged by the other side of the socket.

    Recv-Q is the amount of data received from the NIC, but not yet consumed by the application.

    Both of these queues reside in kernel memory. There are guides to help you tweak these kernel buffers, if you are so inclined. Although, you may find the default params do quite well.

提交回复
热议问题