> Which link is that. I think I have already read what is in those links + the ps man page included in Mac, still cannot figure how.
> PS: Currently I can get what I want with an apple script, instead of ps. I would like to have a way doing all these programmatically (I can use "ps" without actually using shell ps BTW via low level libraries) but anyway, looks like I will live with calling and parsing applescript output.
When it comes to "ps", this link states something at the bottom about determining applications by grepping for "Application Name":
http://osxdaily.com/2013/05/17/see-all-running-apps-mac-os-x/Not sure if that is useful. I DO have a Mac at home, but do not have access to it here from work.
Thanks,
Joe Kaufman