Unix Technical Forum

how to find location of executable which started a process

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 09:21 PM
Prashant
 
Posts: n/a
Default how to find location of executable which started a process

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 09:21 PM
Horst.Scherzer
 
Posts: n/a
Default Re: how to find location of executable which started a process

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,

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 09:25 PM
Prashant
 
Posts: n/a
Default Re: how to find location of executable which started a process

"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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com