【Ubuntu】Ubuntu程序進程查看與關閉進程


參考

https://blog.csdn.net/JNingWei/article/details/78440106

【查看進程】【https://blog.csdn.net/xudailong_blog/article/details/78376895

【關閉進程】【https://blog.csdn.net/lufangbo/article/details/79376601

 

例如

ps –aux     //查看進程號
ps –aux | more //全部查看
ps –ef | grep mysql //查看mysql的進程
kill -9 3306 //強制殺掉進程號3306

 

比如查看 firefox 的相關進程信息

ps -aux|grep firefox

ps -aux|grep nvidia

ps -aux|grep terminal

 

關閉某個進程

kill 7082    # 7082位某個進程的PID(比如firefox的某個進程PID是7082 則關閉firefox的進程)

 

 

 

 


 

待補充

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM