【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