Write in front, the public message function has been open for some time, if you need to exchange please try to choose the way to leave a message, because usually I also want to working, and recently intends to learn through video plus text way to study, to enjoy the look.
The SS is the abbreviation for the socket statistics. As the name implies, the SS command can be used to get socket statistics, which can display and netstat similar content. But the advantage of the SS is that it can show more and more detailed information about TCP and connection status, and is faster and more efficient than netstat.
The World martial arts only fast not broken. The secret of the SS fast is that it leverages the TCP_DIAG in the TCP protocol stack. Tcp_diag is a module for analyzing statistics that gives you first-hand information in the Linux kernel, which ensures that the SS is fast and efficient. Of course, if you do not have tcp_diag,ss in your system, you can run normally, but the efficiency will become slightly slower. (but still faster than Netstat.) )
1. Command format:
SS [Parameter]
SS [Parameter] [filter]
3. Command parameters:
-H,--help help info
-N,--numeric does not resolve service name
-R,--resolve parse host name
-O,--options display timer information
-E,--extended display detailed socket (sockets) information
-P,--processes shows the process using the socket (socket)
-I,--info display TCP internal information
-S,--summary display socket (socket) Usage overview
-T,--tcp display only TCP sockets (sockets)
-U,--udp Show only UCP sockets (sockets)
-D,--DCCP Show only DCCP sockets (sockets)
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/7C/wKioL1d0lpWw9UIwAAKheRg9R7c620.png "title=" Qq20160630112249.png "alt=" Wkiol1d0lpww9uiwaakherg9r7c620.png "/>
4. Display all TCP ports and processes that use them
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/7D/wKiom1d0lqziMxiwAAEAJ6wCo1k648.png "title=" Qq20160630112458.png "alt=" Wkiom1d0lqzimxiwaaeaj6wco1k648.png "/>
Linux Basic Command SS