Operating System - HP-UX
1838678 Members
3884 Online
110128 Solutions
New Discussion

/proc equivalent in HP-UX

 
Chakravarthi
Trusted Contributor

/proc equivalent in HP-UX

Hi,

In unix the files for a pid is present in /proc directory.
Could you tell me the equivalent directory name where i
can find all the files for a given pid in HP-UX systems.

I did a rlogin in venus machine and searched for /proc directory
which i could not find.


thanks
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: /proc equivalent in HP-UX

There is no such thing as /proc on HP-UX. The tool you want to view all the open files and TCP connections by a process is lsof. You can download and install it from here;

http://hpux.cs.utah.edu/ftp/hpux/Sysadmin/lsof-4.64/lsof-4.64-ss-11.00.tar.gz
Im from Palmerston North, New Zealand, but somehow ended up in London...
Sergejs Svitnevs
Honored Contributor

Re: /proc equivalent in HP-UX

HP-UX does not have the /proc file system.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x023cc4c76f92d611abdb0090277a778c,00.html

Regards,
Sergejs
Ravi_8
Honored Contributor

Re: /proc equivalent in HP-UX

Hi,

/proc doesn't exist in HP-UX. it exist only in Tru64 which hols all the pid info.

you can use
#ps -aef|grep
never give up