|
How to obtain processes list |
|
|
|
|
Written by Alexander Stavonin
|
|
Friday, 22 January 2010 14:42 |
|
There are two ways for processes list obtaining on Mac OS X (at least, I know two ways).
Let's start from the first way, which is easier but potentially has bugs. In BSD part (it is BSD part which manages processes in Mac OS X) of XNU kernel there is kinfo_proc structure that contains a lot of processes information including such information like process’ PID and name.
|
|
Last Updated on Saturday, 23 January 2010 13:19 |
|
Read more...
|