In *nix you can use ps
to see which process are running. But if an executable has multiple homonimous files in a device, we can't figure where it was invoked from.
This is slightly different from my last question on this subject.
How can I know the absolute path of a running process?
Best Answer
Try this: