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 …
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…
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…
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…
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…
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 …
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…
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?…
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 …
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…
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…
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.…
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…
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…