Closed wereHamster closed 13 years ago
Cool ill merge on monday, although you can tell by the pgid
pretty sure process.title doesn't even work on osx :(
On 3/16/11 12:13 AM, visionmedia wrote:
pretty sure process.title doesn't even work on osx :( Almost. It only affects the process name as displayed in the activity monitory, but not ps.
nor top / htop :(
On 3/16/11 12:23 AM, visionmedia wrote:
nor top / htop :(
Feel free to ignore the pull request then..
we should at support for it as .set('title', 'whatever')
and maybe append ' - worker N' etc, defaulting to "cluster" I suppose. sucks that it doesnt work on osx
I never had any issues with using process.title on Mac OSX ( using Mac OSX 10.6 & node 0.4.x )
hm, I dont see it in top, htop, or ps
It does show up in the "Activity Monitor" On Apr 5, 2011, at 10:08 PM, visionmedia wrote:
hm, I dont see it in top, htop, or ps
Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/cluster/pull/54#issuecomment-960933
oh, pff, who uses that
Ok you have a point there but also Instruments.app shows the process.title
. Which is useful for debugging your node apps, searching for memory leaks, adding dtrace probes etc.
On Apr 5, 2011, at 10:32 PM, visionmedia wrote:
oh, pff, who uses that
Reply to this email directly or view it on GitHub: https://github.com/LearnBoost/cluster/pull/54#issuecomment-961030
im not against the title setting at all, I was just hoping to try it out first and couldnt get it to work haha, I'll add it
Added title
and worker title
settings. Closed by 739bd6df4ba09f420a0a991402c97500fdb50678
Activity Monitor did work, sucks that htop and friends dont
Yeh that is annoying, but at least the process will be easier to identify now, instead of guessing which node process is what.
yeah totally, its pretty easy for me usually since you can see N children under the one master node, but if you have several clusters running that would get a bit messy
I'd like to know which process is the master and which are the workers. This tiny commits sets process.title in the Master constructor to change the process name as it appears in ps.