added cpu usage and free memory calling method in desktop agent