Timeline for How can I know the absolute path of a running process?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 30, 2020 at 14:53 | comment | added | Peter Mortensen | This does not answer the question at all. | |
Dec 30, 2018 at 6:05 | comment | added | Nick Dong |
pwdx return me the absolute path of the exectuable program of the process depending on pid on redhat x64 6.3.
|
|
Jun 5, 2018 at 11:42 | comment | added | John Strood |
@Kokizzu This only answers the question, "What is the current working directory of the process $pid ?" The edited post still doesn't answer the question. which merely tells "If the command is on the path, then what is it?"
|
|
Mar 12, 2017 at 8:25 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Copy edited.
|
Dec 7, 2016 at 7:36 | comment | added | Daniel Da Cunha | An obvious way this answer is wrong: on my machine I run processes with different JDK versions and some 32bits/64bits. If I want to identify the correct jstack/jmap version for the process the answer above will not work while the accepted answer will. | |
Feb 18, 2016 at 9:05 | comment | added | noamik | @Kokizzu No, it doesn't because it doesn't answer the question at all. The which command only tells you which binary will be run if you execute the command now. The question was "which binary is already running there". Imagine for example having a dozen jdks on your computer. If you want to know for a running java process which jdk it's been taken from, which doesn't help you with that. It will only tell you which jdk it will be taken from, if you execute it now. The accepted answer is also the correct one. | |
S Oct 15, 2013 at 2:05 | history | suggested | Chris Reid | CC BY-SA 3.0 |
incorrect info
|
Oct 15, 2013 at 1:04 | review | Suggested edits | |||
S Oct 15, 2013 at 2:05 | |||||
S May 3, 2013 at 8:03 | history | suggested | FiveO | CC BY-SA 3.0 |
code highlighting
|
May 3, 2013 at 7:07 | review | Suggested edits | |||
S May 3, 2013 at 8:03 | |||||
S May 3, 2013 at 7:03 | review | Low quality posts | |||
May 3, 2013 at 7:08 | |||||
S May 3, 2013 at 7:03 | review | Late answers | |||
May 3, 2013 at 7:37 | |||||
S May 3, 2013 at 7:03 | review | First posts | |||
May 3, 2013 at 7:07 | |||||
May 3, 2013 at 6:48 | history | answered | seenu | CC BY-SA 3.0 |