1834285 Members
3673 Online
110066 Solutions
New Discussion

Re: PID FILES

 
Sudheer Kumar
Occasional Contributor

PID FILES

Hi,
In SOLARIS, LINUX, PID files available in /PROC file.In HP-UX /proc directory is not there.In which directory PID files are available.

One more thing, to get processstatus info, we use lwpstatus_t in SOLARIS and elf_prstatus in LINUX. In HPUX which structure we use to get the processstatus info.

My advance thanks.


Sudheer
We make the difference
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: PID FILES

Hi,

There is no equivalent to the /proc filesystem in HP-UX. To get process ralated data use pstat_getproc. There are many pstat system call variants. Man pstat(2) for details.

Clay
If it ain't broke, I can fix that.