proces 확인하기
proces 확인하기
Linux tools that I learned 10 years ago, which I still use every day
ps
and htop
- listeing and finding proceess
ss
and netstat
- what ports is that process using
netstat
은 old way이고 요즘 배포판은ss
가 많이 적용ss -ntaupe
ss -ntpl
: listening port만 찾기 위함options
-n
: lists processing using numeric address-t
: list TCP connections-a
: list all connections listening and establised-u
: lists UDP connections-p
: shows the process using the socket - probably the most useful-e
: shows some extened information like the uid
Shell job control - fg/bg/jobs
- fg
- bg
- ds
참고
- medium - Linux tools tips
This post is licensed under CC BY 4.0 by the author.