在susesp3下执行sudo ./XtSfitMonitor19T ../config/config.lua 1_21001_8001_233_1,发现会起来两条进程
root 31683 0.0 0.0 94316 7460 pts/1 S+ 16:10 0:00 sudo ./XtSfitMonitor19T ../config/config.lua 1_21001_8001_233_1
root 31684 0.5 0.0 326220 22532 pts/1 Sl+ 16:10 0:00 ./XtSfitMonitor19T ../config/config.lua 1_21001_8001_233_1
一条进程带sudo,另一条进程不带sudo
通过pstree -anph,可看到
| |-sshd,4694
| | -bash,5875 | |
-sudo,31683 ./XtSfitMonitor19T ../config/config.lua 1_21001_8001_233_1
| | -XtSfitMonitor19,31684 ../config/config.lua 1_21001_8001_233_1 | | |-{XtSfitMonitor19},31685 | | |-{XtSfitMonitor19},31686 | | |-{XtSfitMonitor19},31693 | |
-{XtSfitMonitor19},31694
这是啥情况呢