fix bug in cpu and mem collection
fix bug in cpu and mem collection

CrunchyData/crunchy-postgresql-manager,CrunchyData/crunchy-postgresql-manager,CrunchyData/crunchy-postgresql-manager,CrunchyData/crunchy-postgresql-manager,CrunchyData/crunchy-postgresql-manager