Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .