netstat example.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 31 Jan 2014 16:37:08 +0200
changeset 1558 beba45734051
parent 1557 94e93fb50849
child 1559 dea9d0590c4f
netstat example.
stat.rst
--- a/stat.rst	Fri Jan 31 09:11:45 2014 +0200
+++ b/stat.rst	Fri Jan 31 16:37:08 2014 +0200
@@ -172,6 +172,7 @@
 ::
 
   $ lsof -i[46][protocol][@{hostname|hostaddr}][:{service|port}]
+  $ netstat -p -l | grep $PORT
 
 where ``[46]`` - IPV4 or IPV6, ``protocol`` - tcp, udp.