Questions tagged [ss]

ss is a command from iproute2

ss is used to dump socket statistics. It allows showing information similar to netstat.

34 questions
6
votes
1 answer

Meaning of SS command output with 3 colons (':::')?

The increasingly popular ss command (/usr/sbin/ss on RHEL) is a replacement for netstat. I'm trying to parse the output in Python and I'm seeing some odd data that is not explained in the documentation. $ ss -an | head State Recv-Q Send-Q …
Kevin J. Rice
  • 3,036
  • 2
  • 21
  • 22
5
votes
1 answer

getting source code for linux's /bin/ss tool

ss tool is analogue to netstat. ss uses NETLINK libraries documented really bad (man 7 netlink). I couldn't find online how properly use NETLINK_INET_DIAG feature. Source code for ss tool would help, but I can't find it either. Any advice would be…
wick
  • 1,691
  • 1
  • 15
  • 29
3
votes
0 answers

How to understand why I have random TLS issue on Heroku?

I have calls to my Heroku app using Ruby Net::HTTP http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true req = Net::HTTP::Post.new(uri.path, { 'Content-Type' => 'application/json' }) Sometimes on those calls I have SSL_connect returned=1…
Mio
  • 1,157
  • 1
  • 13
  • 33
3
votes
0 answers

ss slower than netstat

The man page for netstat says : NOTE This program is obsolete. Replacement for netstat is ss. Replacement for netstat -r is ip route. Replacement for netstat -i is ip -s link. Replacement for netstat -g is ip maddr." ​​ When netstat and…
Anjana
  • 863
  • 7
  • 20
1
vote
1 answer

Trying to automate reporting process on a website by using JavaScript

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
user14280090
1
vote
0 answers

ss and netstat show different multicast groups

On one of my systems at work good ol' netstat shows multicast group membership information, and ss is missing a couple. I wonder why. For example: [root@myhost ~]# netstat -gn | egrep "Inter|239.192" Interface RefCnt Group em4.204 1 …
Mike S
  • 1,065
  • 11
  • 16
1
vote
1 answer

In ss -s, what is the kernel counter actually counting?

While troubleshooting a problem on an OEL 7 server (3.10.0-1062.9.1.el7.x86_64), I ran the command sudo ss -s Which gave me the output of: Total: 601 (kernel 1071) TCP: 8 (estab 2, closed 0, orphaned 0, synrecv 0, timewait 0/0), ports…
Kevin
  • 126
  • 1
  • 8
1
vote
1 answer

How to find out the bytes sent for a connected tcp socket?

I want to find out how many bytes are transmitted on a tcp socket (I'm using Ubuntu 18.04, by the way). I tried the ss command, but it seems ss can only show the bytes_received, not bytes_sent. So is there any way to show bytes_sent for a socket?…
1
vote
0 answers

Send-Q column in netstat vs ss output

I am using netstat to retrieve the maximum size of the syn backlog from each listening socket. I read the following from the documentation: Send-Q Established: The count of bytes not acknowledged by the remote host. Listening: Since Kernel…
SIben
  • 206
  • 1
  • 6
1
vote
1 answer

The metadata could not be determined because statement 'INSERT INTO #temp_display () values () uses temp table

I have upgraded the SSIS package from 2008 to 2014.Also, I have changed the provider value to "Provider=SQLNCLI11.1 ". When I run I got error like OLE_SOURCE_RECORDS [9]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.…
Overcrash007
  • 11
  • 2
  • 9
1
vote
0 answers

How does TCP congestion control work

I dont understand how to calculate the CWND-threshold, the source I'm learning from just says: "Initial value of ssthresh may be set to an arbitrarily high value (or size of advertised window)" Also what is the difference between CWND and…
GIjoe
  • 11
  • 1
1
vote
0 answers

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name while connecting to the https url via groovy

I am trying to acces the https xml url of my application deployed on jdk 1.7.0_25 through my groovy code. But the groovy throws an exception for this line in groovy code - URL url = new URL("https://my.company.com//path/to/xml") URLConnection…
Naren
  • 109
  • 1
  • 3
  • 13
0
votes
0 answers

ss summary closed number does not match closed filter?

I want to list ALL of the closed connection states on my machine that appear in the summary of ss -s: [root]# ss -s Total: 291882 TCP: 284308 (estab 20, closed 284260, orphaned 84, timewait 65) Transport Total IP IPv6 RAW 0 0…
Locane
  • 2,475
  • 2
  • 21
  • 30
0
votes
0 answers

GitHub Pages Certificate Error with Custom Domain

I have a custom domain that I have linked to my GitHub pages and I have configured to use https in my GitHub settings and I have given my domain name as (for example.,): mydomain.com Now when I was trying to access my website, I get this error: I…
joesan
  • 10,737
  • 20
  • 70
  • 176
0
votes
0 answers

control.ss: This error: "Could not brodcast input array from shape (4,1) into shape (4)"

i have write this code. import numpy as np import control import matplotlib.pyplot as plt m = 1; M = 5; L = 2; g = -10; d = 1; # y = [ x; dx; tetha; dtetha] A = np.array([[0, 1, 0, 0], [0, -d/M, -m*g/M, 0], [0, 0, 0, 1], [0, d/(M*L),…
Marco
  • 55
  • 4
1
2 3