changeset 1558 | beba45734051 |
parent 1557 | 94e93fb50849 |
child 1570 | e98df1173d31 |
1557:94e93fb50849 | 1558:beba45734051 |
---|---|
170 Linux. |
170 Linux. |
171 ------ |
171 ------ |
172 :: |
172 :: |
173 |
173 |
174 $ lsof -i[46][protocol][@{hostname|hostaddr}][:{service|port}] |
174 $ lsof -i[46][protocol][@{hostname|hostaddr}][:{service|port}] |
175 $ netstat -p -l | grep $PORT |
|
175 |
176 |
176 where ``[46]`` - IPV4 or IPV6, ``protocol`` - tcp, udp. |
177 where ``[46]`` - IPV4 or IPV6, ``protocol`` - tcp, udp. |
177 |
178 |
178 :: |
179 :: |
179 |
180 |