열려있는 프로세스 죽이는법

u·2021년 5월 25일
0

Aws & Server

목록 보기
10/18

netstat tupln

-열려있는 프로세스 확인하는 명령어

netstat

네트워크 연결상태, 라우팅테이블, 인터페이스를 나타내는 명령어

tupln이 나타내는 것

--tcp|-t

--udp|-u

-l, --listening
Show only listening sockets. (These are omitted by default.)

-p, --program
Show the PID and name of the program to which each socket belongs.

--numeric, -n
Show numerical addresses instead of trying to determine symbolic host, port or user names.

ps -ef

pid란 process id의 줄임말

인터페이스에서 찾는 프로세스를 찾은 후 kill (pid)를 통해 프로세스를 죽일 수 있다.

0개의 댓글