How to get parent pid from script?

前端 未结 0 1566
醉话见心
醉话见心 2020-12-08 21:08

./tesh.sh 192.168.1.10 elastic01

# this is script
ip=$1
node=$2

pid=`ps -ef | grep $node | grep -v "grep" |          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题