monitor cpu and mem in simple_server