Super User is a question and answer site for computer enthusiasts and power users. 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 use a MacBook Pro. Sometimes I want to pause the execution of a long heavy-duty experiment running on my system because I am on battery or for any other reason. Is there a way to do it in Eclipse ? Or even in Mac OS X itself ?

share|improve this question
Related question on s.o. ( ), but presumes that you've started the java program in eclipse in debug mode. It appears that is the only perspective in which there is a pause (suspend) button. Otherwise, indeed, signals (sigstop/sigcont sent via kill) can be used to pause/resume running processes. If an app is running in the foreground, ctrl+z (typically) sends sigstop signal; jobs and fg {job_num} to resume. – michael_n Jan 15 '12 at 8:43
up vote 3 down vote accepted

if your process id is 1234, stop processing with kill -SIGSTOP 1234, resume with kill -SIGCONT 1234

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .