title: How to list all the running processes by using UNIX-C/C++
body: <p>I want to list all of the processes in the system. I used to use shell command "ps" and system function to get the result. However, it seems a little complex. How to use UNIX C functions to complete this job.</p>