On Sun, Mar 18, 2012 at 22:15, Mark Volkmann <[email protected]> wrote:
> The documentation for process.title says "Getter/setter to set what is
> displayed in 'ps'".
> When I set it in a file named foo.js using:
>
> process.title = 'modified name';
>
> and do something that keeps the process running
> and run "ps" from a terminal window
> I see a line like:
>
> 80954 ttys000    0:00.10 node foo.js
>
> Why doesn't "modified name" appear? I expected I'd see that instead of
> "node foo.js".

Setting process.title currently only works on Linux, FreeBSD and Windows.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to