# ss -n |grep ESTAB |wc -l
13615
# ss -n |grep CLOSE-WAIT |wc -l
10832
# ss -n |grep FIN-WAIT |wc -l
1976
# ss -V
ss utility, iproute2-ss061002
# ss -n |grep ESTAB |wc -l
13615
# ss -n |grep CLOSE-WAIT |wc -l
10832
# ss -n |grep FIN-WAIT |wc -l
1976
# ss -V
ss utility, iproute2-ss061002
serverframework.com has written an interesting article about how the TIME_WAIT state really works. The link will get you there:
check for yourself right here:
This entry is for those people who have ever wondered, “Why the hell is a simple KDE text editor taking up 25 megabytes of memory?” Many people are led to believe that many Linux applications, especially KDE or Gnome programs, are “bloated” based solely upon what tools like ps report. While this may or may not be true, depending on the program, it is not generally true — many programs are much more memory efficient than they seem.
Read the complete article on virtualthreads