Questions tagged [ss]

ss is a command from iproute2

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

33 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,337
  • 2
  • 24
  • 23
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,995
  • 2
  • 20
  • 31
4
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
  • 873
  • 7
  • 22
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,412
  • 2
  • 19
  • 41
3
votes
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…
bchetioui
  • 326
  • 1
  • 6
2
votes
2 answers

Bash regex parsing ss output

I'm trying to use a bash regex from a ss comand output to extract the name of the application that is using a given port in a function. I have some problems with the regex. Command to check the data is ss -tupln Example of data to parse (ipv4): tcp …
OscarAkaElvis
  • 5,384
  • 4
  • 27
  • 51
2
votes
2 answers

Azure PowerShell - Extracting Azure SQL Database information

I'm looking for a way to extract specific information about Azure SQL Database: Used space, Allocated Space, and Maximum storage size. I know that information is available from Azure portal but I would like to use PowerShell to extract it. I've…
Lukasz G
  • 91
  • 1
  • 8
2
votes
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?…
Victor Chen
  • 21
  • 1
  • 2
1
vote
0 answers

certificate pinning ssl dont works with network security configuration

I have an app with ionic and cordova. the network_security_config.xml file as follows:
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,235
  • 12
  • 19
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
  • 146
  • 1
  • 8
1
vote
1 answer

SSL Certificate Generation from CSR and KEY file

My web host is shutting down - as they have been bought out. I am having difficulty getting my SSL certificate from them.. I am on my 3rd attempt and I have managed to get 2 files.. one I believe is the initial CSR, the Other is my Private Key .KEY…
Ken
  • 2,518
  • 2
  • 27
  • 35
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
1
2 3