Re: [Haifux] Command-line tips meeting: A rough summary

2013-02-02 Thread Rami Rosen
Hi,

Well, indeed ss is a good utility to investigate sockets; it can
do many things that netstat does.
However, there are some functionalities of netstat which are missing
in ss (and probably will not be added in future, due to the nature of
ss utility).

For example, netstat can show also interface statistics, multicast
memberships, masquerade connections and more.

For example, showing forwarded packets with netstat is done by:
netstat -s | grep   forwarded
0 forwarded

Showing multicast addresses is done by:
netstat -g

IPv6/IPv4 Group Memberships
Interface   RefCnt Group

...


Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen


On Mon, Jan 21, 2013 at 10:35 PM, Tzafrir Cohen tzaf...@cohens.org.il wrote:
 On Mon, Jan 21, 2013 at 10:09:19PM +0200, Eli Billauer wrote:

 netstat -a -n -p

 Deprecated in recent years. Try 'ss' instead (similar switches. Slightly
 different and better defaults).

 --
 Tzafrir Cohen | tzaf...@jabber.org | VIM is
 http://tzafrir.org.il || a Mutt's
 tzaf...@cohens.org.il ||  best
 tzaf...@debian.org|| friend
 ___
 Haifux mailing list
 Haifux@haifux.org
 http://haifux.org/mailman/listinfo/haifux
___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux


Re: [Haifux] Command-line tips meeting: A rough summary

2013-01-21 Thread Tzafrir Cohen
On Mon, Jan 21, 2013 at 10:09:19PM +0200, Eli Billauer wrote:

 netstat -a -n -p

Deprecated in recent years. Try 'ss' instead (similar switches. Slightly
different and better defaults).

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend
___
Haifux mailing list
Haifux@haifux.org
http://haifux.org/mailman/listinfo/haifux