阅读背景:

如何获取system()函数的pid

来源:互联网 

ps -eo pid,args | grep -w "$prog_name" | grep -v 'grep' | grep -v 'ps -eo pid,args' | awk '{print

ps -eo pid,args | grep -w "$prog_name" | grep -v 'grep' | grep -v 'ps -eo pid,args' | awk '{print $1}'

ps -ef|grep %s|grep "$prog_name"|awk '{print $2}'


}'ps -eo pid,args | grep -w "$prog_name" | grep -




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: