Tuesday, August 21, 2007

iTerm and CPU Usage

You are running a tail -f in an iTerm tab for a busy log file. Did you know that this could use quite a bit of CPU? In one case I had today, iTerm was using more than 30% of the CPU. This looks like a bug. Luckily, there is an easy workaround: minimize the iTerm window by clicking on the orange "-" button and iTerm's CPU usage will drop down to no more than couple of percents.

1 comment:

Rico Rodriquez Collins said...

Thank you so much. I use iTerm at work and would constantly have my CPU Usage spike and of course iTerm was the culprit. I would just relaunch it--but you hit the nail on the head with tail. I use that command constantly either directly or within perl scripts.
Minimize the iTerm window...so simple. Thanks again.