getProcesses
Retrieves the list of all active processes on the system.
Return
A list of OSProcess
objects representing the running processes.
Retrieves the list of processes specified by their PIDs.
Return
A list of OSProcess
objects for the specified processes.
Parameters
pids
A collection of PIDs of the processes to retrieve.