网站介绍:文章浏览阅读5.8k次,点赞4次,收藏12次。先上脚本======================================================proc=xxx // 应用程序名称pid=`ps | grep $proc| grep -v grep | sed 's/^\s*//' | sed 's/[[:space:]].*//'`echo $pid==========================..._shell获取进程的进程号
- 链接地址:https://blog.csdn.net/justgg/article/details/104905230#comments_21571818
- 链接标题:shell 获取 进程号_shell获取进程的进程号-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5904
- 网站标签:shell获取进程的进程号