But when I tested on my suse linux minutes ago, the result confused me. It seems ss can't work properly(my linux kernel version is 126.96.36.199).
If I'm not get it wrong, this man page ( http://www.kernel.org/doc/man-pages/online/pages/man7/netlink.7.html) indicates that my linux version should be ok to run ss.
Here is what I've got using strace:
sles10sp1:/usr/src/net-tools-1.60# strace ss -ant 2>&1 | grep sendmsg** sendmsg(3, ..., 0) = -1 ECONNREFUSED (Connection refused)***
What's going on here?
Any help is appreciated