Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: conti@openaccess.it (Vincenzo Conti)
Subject: process management path retrieve
Date: 2 Apr 2003 07:14:56 -0800	[thread overview]
Message-ID: <f5eb69e2.0304020714.6d1da423@posting.google.com> (raw)

From a process pid I have to retrieve command with absolute path that
creates that process.
From ps command I can retrieve the command but if it was executed with
relative path, I retrieve it in that format.
That is I execute ./proof.sh --> from ps command I retrieve that
command. I need to know the absolute path of proof.sh.

I tried using what it is shown in proc(4) man, using PIOCPSINFO and
prpsinfo struct but I cannot retrieve this information.
Could you help me ? Any suggestions ?

Thank you very much.
Vincenzo Conti


             reply	other threads:[~2003-04-02 15:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 15:14 Vincenzo Conti [this message]
2003-04-02 15:37 ` process management path retrieve Andrew Duane USG
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox