This application show all processes running on your iPhone. Tapping one of the processes displays detailed information about the process including (and interesting) the command used to start the process.

http://www.robota.nl/products/SysInfo.html