FreeBSD's sockstat Linux(debian)

Many years I used FreeBSD as my server invioroment, but before 6 months I migrate to Debian Linux, because I have no time to compile packages from sources.

So, now I work with Debian and I am newbie. Common action when some network application don't work is to review opened ports. FreeBSD have very good utility sockstat. I don't found something like this in Debian and I googled, as result I discover next alternatives for sockstat:

  • lsof -i
  • netstat -anpe

in this example netstat don't show fd+uid, but for this socklist can used

Trackback URL for this post: