ps -ef | grep java *p*
时间: 2023-09-12 10:13:30 浏览: 104
Linux 启动停止SpringBoot jar 程序部署Shell 脚本的方法.zip
ps -ef | grep java命令的作用是查找所有包含"java"关键字的进程。其中,ps -ef命令用于显示当前所有进程的详细信息,包括进程ID、用户、CPU占用率、内存使用情况等。而grep命令则是用于查找与指定模式匹配的文本。通过管道符|将ps -ef命令的输出结果传递给grep命令,实现查找包含"java"关键字的进程。所以,ps -ef | grep java命令可以帮助我们查找以"java"命名的进程。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【Linux】- ps -ef |grep 命令](https://blog.csdn.net/weixin_42300879/article/details/117007840)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [linux 中ps -ef | grep java命令](https://blog.csdn.net/weixin_35756892/article/details/129451363)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文