Re: How to get a process working directory in HP-UX system
- From: "Kilgaard" <Kilgaard@xxxxxxxxxxx>
- Date: Mon, 19 Nov 2007 12:18:00 +1000
"Wu Ting Bin" <wutingbin@xxxxxxxxx> wrote in message
news:1194426153.123297.225880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
Our code need get to know the working directory of given process based
specific pid. Could anyone give me a hand to give me informations?
This is a problem I can not get from google search.
Thank you very much
Try lsof (with -p pid) available from http://hpux.cs.utah.edu/
The first line should have the FD of 'cwd' and be your current working
directory.
--
Posted via a free Usenet account from http://www.teranews.com
.
- References:
- How to get a process working directory in HP-UX system
- From: Wu Ting Bin
- How to get a process working directory in HP-UX system
- Prev by Date: Re: Data Protector 6.0 scheduling mysteries
- Next by Date: Re: Data Protector 6.0 scheduling mysteries
- Previous by thread: Re: How to get a process working directory in HP-UX system
- Next by thread: boot mirror not bootable after make_recovery tape and root password not what set to
- Index(es):
Relevant Pages
|