Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
1  
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
add comment

Your Answer

 
discard

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.