Problem identifying process
Is there an 'easish' way to find out what directory/files a process is using? Before you all jump in and say just do a long listing in ps I will give you an example that isnt that straight forward. If for example you have a java process that is running a Java application in its virtual machine, how then do you tell which directory the Java Application was originally executed from?
ANy Help much appreciated.