ps
and htop
- listeing and finding proceess
htop
프로그램은 더 유연하고 사용하기 쉬움- terminal에서 sorting column을 mouse로 지원
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