ProcessQuery.execute

Process[] execute()

Executes the query and returns matching processes.

Returns

An array of processes matching all criteria.

Example:

auto procs = ProcessQuery()
   .name("*python*")
   .cpuAbove(10.0)
   .execute();