cpumon_light reimplementation to avoid fork