Separate the collection of cpu, mem, etc. from the main runner and run as subprocess