1837893 Members
3140 Online
110122 Solutions
New Discussion

Process-Id Discovery

 
Sunderjeet Singh
Occasional Contributor

Process-Id Discovery

Hi,

What are possible options of process-id discovery in HP-UX 11i (except ps)? I want to discover the process-ids of some set of processes in the system from within a C program. Does HP-UX has something similar to Linux /proc filesystem.

thanks
-Sunderjs
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Process-Id Discovery

Look at the set of pstat(2) functions. Start with pstat_getproc.