I have a problem understanding the output of the Linux ss (socket statistics) command. I can not understand the meaning of the output of ss -s
For example:
[root@dls2304-1 ~]# ss -s
Total: 973 (kernel 996)
TCP: 600 (estab 280, closed 73, orphaned 0, synrecv 0, timewait 0/0), ports 333
Transport Total IP IPv6
* 996 - -
RAW 1 1 0
UDP 157 128 29
TCP 527 512 15
INET 685 641 44
FRAG 0 0 0
My questions:
What does Total: 973 (kernel 996) mean? What is Total and what is kernel? Why Total seems to be smaller than kernel?
In the line TCP: 600 (estab 280, closed 73, orphaned 0, synrecv 0, timewait 0/0), ports 333, what does the word ports mean?
And this:
Transport Total IP IPv6
* 996 - -
What does the asterisk (*) mean?
They are way over my head. I can not find document about the spec of the output for ss command. Can you help me out?