My MacBook Pro ran into something weird this afternoon, it'll freeze for a few seconds every few minutes. I didn't run anything unusual. When I open the Activity Monitor, sometimes I can catch a huge spike on the CPU usage after it just passed. But there is no way for me to tell which processes caused those spikes.
So I'm wondering if there is any way for me to check process's CPU usage history.
P.S. By freezing I mean the mouse cursor still moves but nothing is responsive.