Take a snapshot of running processes and return their description.
returns: the object with the attributes:
"size" - number of processes
"0", "1", "2", ... up to the number of processes - 1
       - contains object which describes the process with the attributes:
         "pid"  - PID
         "name" - process name, usually executable name prefixed
                  with the process bitness

object get_processes(void);

For example, to get the name of the 5th process:

  extern fifth_name;
  fifth_name = get_processes()[4].name
Index | Previous topic | Next topic