At first things looked like they might be exceptionally easy. There's a proc.h file in
There's only one problem - it's broken. Go ahead - try and #include it. See what happens. I searched around on Google some, but I couldn't find anything OS X specific.
UPDATE: After doing some research, Michael found out that you have get a kvm_open and kvm_getprocs, or use sysctl(3). Seems like a cross between FreeBSD and Solaris.