Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I checked the Activity Monitor and noticed 2 processes called sh that were eating my CPU.

What apps are related to these processes and how can I stop them from eating all CPU?

share|improve this question
Type ps -ef in terminal and see what parent process started the shell commands. – bmike Dec 17 '12 at 5:25

sh is a shell, a program that provides a command-line interface to your computer. It can be used either interactively, or as an interpreter for script files, such as the famous periodic maintenance scripts. Some such script is likely running in this case, and may be stuck for some reason.

You should be able to find out what script that is by using Inspect on the sh processes in Activity Monitor and looking at the Open Files and Ports tab. A file listed there with the .sh extension is a shell script. Its name will hopefully give you a clue as to its purpose; you can also open it as text and inspect it.

share|improve this answer
The shell script doesn't necessarily have a .sh extension. – patrix Dec 17 '12 at 5:33
No, that's true. – Josh Caswell Dec 17 '12 at 5:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.