Hello,
I want to know what call to use to read the details of a process control block in solaris ?
Hello,
I want to know what call to use to read the details of a process control block in solaris ?
Hi,
firstly, which unix are you using.
now if you are using a unix that supports the /proc area which stores all the info of the processes what ou can do is write a c program that reads the "pid number" file in the /proc area. now the process block info is stored in a structure in these files. you can simply go on reading these structures
also read "man proc" for more info
I hope this should solve your problem
rgds
penguin
Thanks for the info.