1

Procps in Solaris

view story
linux-howto

http://www.unix.com – Hello All I am trying to write my own "ps" function by reading the /proc folder and going through each PID folder and getting only a few specific information. On Linux this is easy as the information is stored as text; but on Solaris it seems to be binary. Does anyone have experience looking through procps code to see how the actual PS command gets process information in Solaris? I tried emailing Albert Cahalan who wrote it but I am too obsecure to get a hold of him. Please note, executing a system command with PS in my project is out of the question, I must manually get the (HowTos)