1.查看進程信息
①進程查看
ps -aux

②根據PID查看進程
ps -aux | grep pid

③進程計數,查看指定進程
ps -aux | wc -l
ps -aux | grep kworker

2.查看端口占用信息
①查看各個端口占用信息
netstat -an

②查看指定端口占用信息
lsof -i :5353

3.終止進程 慎用!!!kill -9!!!

