Sample Header Ad - 728x90

How to find the process that is causing CPU usage when sleep on Mac M4 running macOS 15.5?

1 vote
0 answers
70 views
I had my Mac M4 on sleep, as usual (macOS 15.5). Today when I opened it, it was warm. I took a look on the cpu usage I saw that it was walking up in around 1h intervals with a 15% user usage. When I opened it the cpu usage dropped and the machine cooled down. I would like to find what's the processes causing this usage as it don't seem right. Is it possible to find the logs of CPU usage % on a given time in the past? Or how to record CPU % usage per process (like as Activity monitor reports) in the future ? --- **Update**: I made a launchd script to dump 3 activity logs every 10minutes in a textfile. The process using resources is usually mediaanalysisd
2025-07-10 05:29:25
PID    COMMAND          %CPU TIME     #TH    #WQ     POWER
613    mediaanalysisd   79.6 04:01:30 7/1    4/1     79.6 
496    mds_stores       37.0 01:49:10 21/2   19/2    37.0 
3150   mediaanalysisd-a 6.9  24:47.90 15     14      6.9
enter image description here enter image description here
Asked by Diolor (111 rep)
Jul 9, 2025, 09:42 AM
Last activity: Jul 10, 2025, 01:07 PM