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 ?

link|improve this question

25% accept rate
Related question on s.o. ( stackoverflow.com/questions/5760256/eclipse-break-program ), 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 at 8:43
feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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