[Mono-list] Change mono process name in ps/top

Azalin suat.korkmaz at msn.com
Wed Mar 9 14:49:49 UTC 2016

I tried to post this but it seems nobody get it because I'm not a subscriber?
Anyway, it worth to try again. Here is my post:

It's been a while since the last post and I think the prctl code is outdated
now? Sadly it doesn't work for me. I'm using the latest Mono (4.2.2) and
wherever I look (ps, top, htop) I see "Mono Appname.exe". I just need to set
my apps process name as its friendly name. 

How can I do this with the current environment? 

PS: I've tried "exec -a AppName mono AppName.exe" too 

Thanks in advance.

View this message in context: http://mono.1490590.n4.nabble.com/Change-mono-process-name-in-ps-top-tp1503082p4667575.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list