﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
174	make argv $0 be 'tahoe', not 'twistd'	warner	davidsarah	"To make it easier to identify a running tahoe node with standard tools like 'ps' and 'top', it
would be awfully nice if argv[0] (aka $0) were 'tahoe'. At the moment, the way we spawn twistd
means that a 'allmydata-tahoe start' command actually results in a process with an argv of
{{{/usr/bin/python /usr/bin/twistd -y tahoe-client.tac --logfile logs/twistd.log}}}
which is kind of gross.

To accomplish this, we'd need to invoke twistd directly (as a regular python function call), rather than using os.system() to spawn off a new process. This is tricky. I've done it in buildbot, so we can probably steal code from there, but it has ramifications for both win32 (#27) and for tailing-the-logfile (#71).

We've changed the name of the .tac file to contain the word ""tahoe"" (#156), so at least 'ps ax |grep tahoe' results in something useful now, but it would be nice to complete this effort.
"	enhancement	closed	minor	1.8.1	code-nodeadmin	1.2.0	fixed	usability unix reviewed	kevinperson@… zandr@…	
