Try system poll function for cpu usage.