# HG changeset patch # User Oleksandr Gavenko # Date 1391179028 -7200 # Node ID beba45734051bb1157817fd1199fce5940c610be # Parent 94e93fb508492f541dd7c0abcb061470d12be622 netstat example. diff -r 94e93fb50849 -r beba45734051 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.