Linux – How to “hibernate a process” under Linux/Windows

linuxprocesswindows

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!

Best Answer

  • 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.