List of application running

Joined
Sep 15, 2011
Messages
2
Reaction score
0
Points
1
how can i get list of applications running in mac for the current user?i tried using
Process p = Runtime.getRuntime().exec("ps -u "+UserName+"");
but it gives list of all system and running process name. i just need only the application name like firefox,internet explorer etc. ..


Thanks
raaz
 
Joined
Jun 13, 2010
Messages
217
Reaction score
8
Points
18
Location
England
Your Mac's Specs
rMBP 13 2.5GHz 121GB SSD
Activity Monitor in Utilities
 
OP
R
Joined
Sep 15, 2011
Messages
2
Reaction score
0
Points
1
Hi, i mean to ask the command in terminal and not in GUI.. hope you are clear...


Thanks
Raaz
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top