Possible Duplicate:
Can we retrieve the applications currently running in iPhone and iPad
I am searching for a way to grab a list of all processes running on an iDevice and their respective PID's.
I want to run this app on my device and it will show a dynamic list of processes running.
I couldn't find a way to do this. I've tried looking at iOS API's, and had a look into the files:
<mach/mach.h>
<sys/utsname.h>
<sys/resource.h>
<sys/syslog.h>
I have seen apps that can do exactly this (dynamically showing PID and process names). Any tips and direction would be much appreciated!
Note: I can extract the process-ID of my own app on the device through 'sys/utsname.h' but not any other app