ps -ef | grep查看进程号 结束进程
时间: 2023-10-17 14:01:26 浏览: 290
要查看并结束进程,可以使用以下命令:
1. 首先,使用ps -ef | grep <进程名>命令查找该进程的进程号(PID)。引用<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [ps -ef |grep nr-ue | grep -v grep|awk ‘{print $2}’|xargs sudo kill 2 >/dev/null 2>&1解析](https://blog.csdn.net/weixin_43951166/article/details/121245296)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [【125】Linux 中 ps -ef|grep和ps、grep详解](https://blog.csdn.net/u010986753/article/details/107805116)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文