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

Just like e.g. people can press Ctrl+P when running a VirtualBox guest, it can pause the guest, after pressing again Ctrl+P it will continue right there where it was stopped. Are there any command line commands on Windows/Linux where I can do the same with a process? (the process is e.g.: Firefox, etc.)
Thank you!

share|improve this question
up vote 4 down vote accepted

For Windows, you want PsSuspend. The utility demands a PID, which is a column you can add in Task Manager.

For Linux, seconding the above. kill -STOP and kill -CONT.

share|improve this answer
2  
Also with the Process Explorer tool (also by Sysinternals), you can do this in one step from the GUI. Process Explorer can also be configured to show a lot more information than the standard task manager. – Spectre May 25 '11 at 14:55

pstop will generally work on Linux and other Unixes which implement /proc-based process control (many System Vs, almost no BSDs); kill -TSTP (-TSTP should be used with interactive processes; -STOP may be better for daemons) will work on most modern Unixes. The reverse operation is prun or kill -CONT, respectively. Note that these are not necessarily equivalent; on Solaris they are entirely distinct operations.

share|improve this answer

Not aware of a command line tool but on windows if you install AnVir Task Manager Free you can select a task and suspend it, then resume at a later time.

share|improve this answer

You must log in to answer this question.

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