Linux环境下如何查找哪个线程使用CPU最长

top -H -p pid

查看端口是否被占用:

netstat -apn|grep 80  

原文地址:https://www.cnblogs.com/stanljj/p/8495790.html