Internet Industry Search Engine

Using ss to examine network connections


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

The ss (socket statistics) command provides a lot of information on network activity 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 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  transmission control protocol  connection protocol UDP  TCP socket ss  RAW sockets ss  UDP sockets ss  Network World communities  ss command  processes show process  socket statistics  TCP sockets  network activity  network connections  security appliications  IP packets  tipcinfo show  info show  TIPC sockets  SCTP sockets  Unix systems  vsock sockets  RAW sockets  DCCP sockets  UDP sockets  h Usage  bird feeders  man page  FRAG sockets  nmap TCP  ss commands  port number  
Search Suggestions Level 2
Linux ss command  transaction Telemedicine logistics  network connections  socket connections  home network  network optimization  
Search Suggestions Level 3
Reduced Resource Charge  master services agreement  facility coverage rosters  executable transaction documents  RRC unit prices  defeats customer flexibility  unit charges  Network World communities  executive vice president  Identity Services Engine  network service arrangements  outsourcing market conditions  Zero Trust Architecture  network services arrangements  RFP process  Accountable Physician Practices  right answer  telemedicine logistics  telemedicine network  access products  network services  network device  socket activity  business deal  physician rosters  Internet Gateway  end goal  facility B  Facility C  identity awareness  device trust  roster possibilities  mathy folks  combinatorial explosion  contract flexibility  revenue commitments  Resource Charge  patient access  treatment decisions  service volumes  Cisco ISE  contract practices  security models  access security  Duo study  Richard Archdeacon  Outdated devices  provider landscape  network identity  business model  payment issues  Overcoming barriers  Contract durations  space combinations  trust authentication  physician time  service providers  scheduling complexity  coverage approaches  care provider  specialist colleague  Duo team  network optimization  Security business  proposal scores  contract terms  contract clauses  agreement framework  right agreements  RFP effort  deal points  industry norms  contract documents  sourcing process  RFP document  vice president  contract term  Duo CEO  Ann Arbor  reimbursement models  device reports  networked device  peak demand  cybersecurity sector  scheduling constraints  room availability  Cisco Security  logistics blow  funding round  theEconomist estimates  Duo Security  termination fees  San Mateo  

**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.