In linux, netstat command tells us information of active sockets in system.
I understand that netstat uses /proc/net/tcp to acquire the system
ss is included in iproute2 package and is the substitute of the netstat. ss is used to dump socket statistics. It shows information similar to netstat. It can display more TCP and state information than other tools. It is a new, incredibly useful and faster (compared to netstat) tool for tracking TCP connections and sockets.