How does nginx appear in the process list like this?
$ ps -ef | grep nginx
... S 9:16 0:08.43 nginx: worker process
... Ss 9:16 0:00.00 nginx: master process nginx
I want to change my CLI program's process name in node.js.
In Node.js you can change process.title
to set the process' title shown in ps
.