2
If I have 2 executables (/path/to/gcc/myapp.exe
, and /path/to/intel/myapp.exe
) where one is compiled with an intel compiler and one is compiled with standard gcc, running both will show up in top
as just myapp
. If I run both of those and have processes running as myapp
, is there a way I can find out which process is coming from which executable?
We have a bunch of apps installed on our cluster and I am interested, not only in which apps are being used the most, but which versions of the apps are being used. If I see 500 occurences of R
being run, I would like to know if 100 of those are from /path/to/R-3.2.1/intel/R
and the other 400 are from /path/to/R-3.1.3/gcc/R
, etc. How can I do this?
You don't have to execute a pathname; you can inspect it. – Thomas Dickey – 2015-05-25T20:45:09.083