• {integer}

    process.ppid 属性返回当前进程的父进程的 PID。

    1. console.log(`父进程的 pid ${process.ppid}`);