CPU monitoring; fixes to support MySQL