[Mono-list] User-Friendly Process Name
Tue, 25 May 2004 09:53:29 +0100
On Tue, 2004-05-25 at 01:44, Samuel Kaufman wrote:
> Time for a usability problem. 'ps -e' and the GNOME System Monitor show
> "mono" for all processes; nothing uniquely identifying.
'ps -ef' or 'ps aux' will of course show 'mono progname.exe'
> Is there a way to solve this, or any plans to work on it? I can only
> think of a couple ways around this, unless the kernel has some feature I
> don't know about.
On certain OS it is certainly possible for a process to control what the
process name is (i.e. write back the value of argv) this can be seen
through this Perl program:
$0 = 'Rarr!';
my $foo = <>;
However System.Environment (which would be the logical place for this )
does not support this - it would require support in the runtime
environment which I guess is not present at the current time.
> Mono-list maillist - Monoemail@example.com