This is a discussion on how to find location of executable which started a process within the AIX Operating System forums, part of the Unix Operating Systems category; --> I know pid of the process. I need to know the executable using which this process was started. Please ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I know pid of the process. I need to know the executable using which this process was started. Please note that in my case 'ps' output does not show complete pathname of the process. On Solaris I can use command 'pmap' to get this information. The solution I am looking for, needs to work across AIX 4.3, 5.1 and 5.2. thanks, -Prashant. |
| |||
| Prashant wrote: > I know pid of the process. I need to know the executable using which > this process was started. Please note that in my case 'ps' output does > not show complete pathname of the process. On Solaris I can use > command 'pmap' to get this information. The solution I am looking for, > needs to work across AIX 4.3, 5.1 and 5.2. > > thanks, > -Prashant. ps eww Hth, |
| ||||
| "Horst.Scherzer" <Horst.Scherzer@univie.ac.at> wrote in message news:<3F812F55.3070805@univie.ac.at>... > Prashant wrote: > > I know pid of the process. I need to know the executable using which > > this process was started. Please note that in my case 'ps' output does > > not show complete pathname of the process. On Solaris I can use > > command 'pmap' to get this information. The solution I am looking for, > > needs to work across AIX 4.3, 5.1 and 5.2. > > > > thanks, > > -Prashant. > > ps eww > > Hth, It worked. I could find the path from one of the environment variables. Thanks a lot! |