Internet Industry Search Engine

Using the Linux ss command to examine network and socket connections

Source: networkworld.com

Dec 10, 2018 5:35 PM 1+ mon ago

The ss (socket statistics) command provides a lot of information by displaying details on socket activity. One way to get started, although this may be a bit overwhelming, is to use the ss -h (help) command to get a listing of the command's numerous options. Another is to try some of the more useful commands and get an idea what each of them can tell you.One very useful command is the ss -s command. This command will show you some overall stats by transport type. In this output, we see stats for RAW, UDP, TCP, INET and FRAG sockets.$ ss -s Total: 524 TCP: 8 (estab 1, closed 0, orphaned 0, timewait 0) Transport Total IP IPv6 RAW 2 1 1 UDP 7 5 2 TCP 8 6 2 INET 17 12 5 FRAG 0 0 0 Raw sockets allow direct sending and receiving of IP packets without protocol-specific transport layer formatting and are used for security appliications such as nmap. TCP provides transmission control protocol and is the primary connection protocol. UDP (user datagram protocol) is similar to TCP but without the error checking. INET includes both of the above. (INET4 and INET6 can be viewed separately with some ss commands.) FRAG ? fragmented Clearly the by-protocol lines above aren't displaying the totality of the socket activity. The figure in the Total line at the top of the output indicates that there is a lot more going on than the by-type lines suggest. Still, these breakdowns can be very useful.To read this article in full, please click here...Read more.

Search Builder

(Click to add to search box)
Search Suggestions Level 1
socket activity  Linux ss command  transmission control protocol  ss command  RAW sockets ss  processes show process  TCP socket ss  Network World communities  UDP sockets ss  TCP sockets  socket statistics  socket connections  IP packets  security appliications  info show  Unix systems  tipcinfo show  vsock sockets  SCTP sockets  UDP sockets  DCCP sockets  RAW sockets  TIPC sockets  h Usage  man page  connection protocol  port number  bird feeders  connections   activity   
Search Suggestions Level 2
Linux ss command  Linux system kernel  socket connections  network connections  Linux servers  NGINX Uber  Linux Foundation  disk activity  
Search Suggestions Level 3
source projects  Linux Foundation  disk activity  data lakes  RRC unit prices  unit charges  Network World communities  Reduced Resource Charge  Cloud Foundry Foundation  network services arrangements  System Management Mode  outsourcing market conditions  defeats customer flexibility  master services agreement  source project Jaeger  Open source technology  Linux Conference Europe  Half Moon Bay  source tools Uber  AmidoCTO Simon Evans  RFP process  network service arrangements  use sudo privileges  executable transaction documents  cloud technology  network device  San Diego  network services  socket activity  contract term  GPS devices  people today  blog post  cloud storage  business use  source tools  dstat command  Linux systems  proposal scores  Intel claims  contract clauses  agreement framework  core tools  right agreements  RFP effort  business models  Linux Land  North America  San Jose  kernel maintenance  Linux plumbing  list isn  Linux conferences  gaming client  background improvements  AI field  Gold Member  supercomputers today  firm commitment  cloud providers  Apache Spark  Apache Kafka  cloud vendors  Simon Evans  Gartner states  software development  contract terms  revenue commitments  data visualization  businesses today  umbrella group  Resource Charge  industry norms  contract flexibility  Hyperledger Foundation  service providers  Contract durations  provider landscape  backend systems  contract practices  Intel SGX  r command  kernel level  Cloud Native  service volumes  business deal  RFP document  sourcing process  deal points  Uber spokesperson  termination fees  community collaboration  contract documents  

**Content contained on this site is provided on an “as is” basis. 4Internet, LLC makes no commitments regarding the content and does not review it, so don't assume that it's been reviewed. What you see here may not be accurate and should not be relied upon. The content does not necessarily represent the views and opinions of 4Internet, LLC. You use this service and everything you see here at your own risk. Content displayed may be subject to copyright. Content is removed on a case by case basis. To request that content be removed, contact us using the following form: Contact Us.