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.

A few times now, Starcraft 2 has frozen up on my wife's Macbook Pro, but the mouse pointer still moves and the sound keeps playing. I can also SSH in from a different machine. The keyboard shortcut for force-quit doesn't work though, and nothing in-game is clickable. Command-tab won't switch windows either.

If this were a straight-up Linux box, I'd find the application process and kill it from an SSH login. If that failed, I might take out the X server. Can I do anything like this in OSX? Is there something on the "problem" machine I can do locally instead?

share|improve this question
    
All process management you'd do on Linux exists equally as much in OS X. –  Jason Salaz Dec 3 '11 at 7:45
add comment

1 Answer

  1. Search for the Starcraft 2 process in the process list. I don't know the name of the binary but something like ps aux | grep -i starcraft should get you there
  2. The number in the second column is the PID
  3. kill PID or (if this doesn't work) kill -9 PID (if you are not the owner of the process, you can use sudo kill ... instead)

Depending on the process structure of Starcraft 2 you may need to do this several times to hit the right one.

share|improve this answer
    
If you know the name of the process (e.g. this one is probably "Starcraft 2"), a shorter path is killall 'Starcraft 2'. (Caution: Do not generalize this advice to other UNIX systems; killall may mean kill everything.) –  Kevin Reid Dec 3 '11 at 17:46
    
I couldn't find anything in the process list that looked like "starcraft", "blizzard", or "sc2" -- that's why I figured the next step up the chain was "log the user out". I realize it's sort of the "low-yield nuclear option" but IMHO it's better than a hard power cycle. –  James B Dec 4 '11 at 0:36
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.