Heim  >  Fragen und Antworten  >  Hauptteil

linux - crontab 调用sh产生多个进程?

在linux centos 6.5环境下
在crontab -e添加一条命令如下

使用了进程锁flock

调用的sh如图

shell里有引用其它文件里的函数

而进程产生四个进程.如图

疑问,如上图出现
/bin/sh 和 /bin/bash 这两个不一样吗?

怪我咯怪我咯2744 Tage vor1033

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort