Mac OS X - Get list of all processes running on the system?

803 Views Asked by At

I am searching for an API to get the list of processes running on the system (including the process launched by other users on the system).

I see lot of questions are already raises. But It was older questions.

  1. Question 1 - which answers to use ps command and parse the output.
  2. NSWorkspace provides runningApplications - which returns the processes under the current user.

Is there any API introduced in the recent updates to get all processes running on the system?

0

There are 0 best solutions below