Obsidian/Recognition/Programing/Linux/Ubuntu/프로세스 확인 및 강제 종료.md

18 lines
318 B
Markdown
Raw Permalink Normal View History

2023-08-14 16:19:25 +00:00
```bash
# 모든 프로세스 확인
ps -ef
# 특정 프로세스 확인
ps -ef|grep www
# 특정 포트를 사용하는 프로세스 확인
netstat -tnlp|grep 20001
# 프로세스 강제 종료
kill -9 1234
2024-03-29 08:36:47 +00:00
# 프로세스 경로 확인
netstat -ntap | grep LISTEN | grep 80
ls -al /proc/4091928 | grep exe
2023-08-14 16:19:25 +00:00
````