Is it possible to get the path of a process running under Mono in Linux? For example if I launch KeePass using mono KeePass.exe, running ps just shows the command name as mono, while what I really want is KeePass.exe.

link|improve this question

60% accept rate
As far as I know, the process table records arguments. Try ps ax | grep "mono". – new123456 Jun 30 '11 at 12:57
@new123456: Great, this did the trick. If you post it as an answer, I'll accept it! – Will Vousden Jun 30 '11 at 13:39
feedback

1 Answer

up vote 1 down vote accepted

Do ps ax | grep "mono" - ps will show all processes and their arguments with the ax flag.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.