info_ps=`ps -ef|grep $xxxxx |grep -v grep| grep -v '^$'`
n=`echo -n $info_ps|wc -l`
if [ ! $n -lt 1 ] #如果已经运行
then 
fi

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2021-09-20
  • 2021-05-22
  • 2022-03-02
  • 2021-09-07
  • 2021-12-18
猜你喜欢
  • 2021-07-04
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-11-30
  • 2021-08-09
  • 2022-12-23
相关资源
相似解决方案