Closed. This question is off-topic 。它目前不接受答案。












想改善这个问题吗? Update the question 所以它是堆栈溢出的 on-topic

9年前关闭。



Improve this question




nginx是怎么出现在进程列表中的?
$ ps -ef | grep nginx
... S     9:16   0:08.43 nginx: worker process
... Ss    9:16   0:00.00 nginx: master process nginx

我想在 node.js 中更改我的 CLI 程序的进程名称。

最佳答案

在 Node.js 中,您可以更改 process.title 以设置 ps 中显示的进程标题。

关于node.js - 如何更改进程列表中的命令行?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10399241/

10-12 12:28
查看更多