10 Netstat Command Examples
http://www.thegeekstuff.com/2010/03/netstat-command-examples/
내가 찾고자 한 건 9번째 팁!!
- netstat 로 현재 동작을 하고 있는 포트숫자 혹은 process 알아보기
- 특정 포트를 쓰고 있는 프로세스 찾기
http://www.thegeekstuff.com/2010/03/netstat-command-examples/
9. Find out on which port a program is running
# netstat -ap | grep ssh
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 1 0 dev-db:ssh 101.174.100.22:39213 CLOSE_WAIT -
tcp 1 0 dev-db:ssh 101.174.100.22:57643 CLOSE_WAIT -
Find out which process is using a particular port:
# netstat -an | grep ':80'
'IT > IoT | Hardware' 카테고리의 다른 글
IPv6 Cheat Sheet - 간략한구조 설명자료 (0) | 2019.01.09 |
---|---|
ICMPv6 메시지 정리테이블과 기술자료 (0) | 2019.01.09 |
Cannot compile blink sketch for Arduino MKR boards (0) | 2019.01.04 |
스마트폰으로 간단하게 Arduino 제어하기 (1) - 아두이노 이더넷 (0) | 2018.12.14 |
스마트폰으로 간단하게 Arduino 제어하기 (2) - 어플 소개 (0) | 2018.12.14 |