Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ekatmcg

macrumors newbie
Original poster
May 22, 2010
1
0
Hi all,

I'm a computer programmer and I'm developing a cross platform java program but I'm very new to mac. In my code I need to check if a particular program is still running. In windows I use tasklist which will have the process belonging to this program listed if the program is open and not if its closed. I've been playing around with the ps command (which is supposed to be just like tasklist) but it still has the process in the list long after the program has been shut down.

Is there any command with will show me the running processes?

Thanks

Katie
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.