I'm running some long-running CPU intensive scripts, but I've noticed that the CPU utilisation becomes 0 when the display sleeps. I've already kept the machine awake using caffeine
. Is this expected behaviour?
How come terminal processes are paused when display sleeps
cpusleep-waketerminal
Related Question
- MacOS – Keeping the mac awake when running certain applications
- Windows – How does Parallels’ CPU and ram usage work? When to shutdown virtual machine
- MacOS – Keep MacBook Pro awake in a clamshell mode + HDMI switcher setup
- How to let htop display all columns correctly when using the Homebrew Terminal profile
- Do Terminal processes stop if Mac sleeps
- MacBook – Thunderbolt 3 dock disconnects when MacBook sleeps
Best Answer
In High Sierra there is a 2 setting in System Preferences > Energy for that. Enable Prevent computer from sleeping....or/and set Display sleep to Never.