Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
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

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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