difference between netstat and ss in linux? May 6, 2023 by Tarik It gets them from kernel space directly using Netlink which uses the classic sockets API.