ubuntu, display port occupation, display running programs, and force close a process
1. Display the program occupying a certain port
lsof -i:80 lsof -i:5000
2. Display whether a certain program is running, view a running program
ps -aux | grep "paster" ps -aux | grep apache2
3. Kill a process and force kill a process
kill 211119 sudo kill -s 9 21119