shell 中,sudo 的运行机制:sudo is fork'ing a child process and exec'ing the perl interpreter. So sudo is one process. It is the parent pid (PPID) of the perl interpreter running your script. perl is the second process.
shell 中,sudo 的运行机制:sudo is fork'ing a child process and exec'ing the perl interpreter. So sudo is one process. It is the parent pid (PPID) of the perl interpreter running your script. perl is the second process.