How to pause (suspend) a running process under Windows cmd

Source: Internet
Author: User

In the development of Linux, we are familiar with Ctrl + Z instructions, the role is to move the current running program to the background, pause execution, wait until the appropriate time and then use the FG command to call the program again to execute. This feature is also not commonly used, but sometimes it is quite necessary.

So what do you do if you need it under Windows? I am not familiar with Windows, I do not find a ready-to-use method. I suspect that Windows does not provide this functionality in itself, or Microsoft will not provide an additional set of such tools.

Https://technet.microsoft.com/en-us/sysinternals/bb897540.aspx. From here you can go down to a PsTools package, which has a lot of tools for manipulating processes under Windows. Where Pssuspend.exe is used to suspend (suspend) a process.

Pssuspend.exe PID Suspend process

Pssuspend.exe-r PID Recovery process

Pskill.exe pid kill process, with Linux kill

Easy to use and easy to suspend and resume the process, but the disadvantage is that the process hangs, the process occupied by the memory space is not released, I look for this tool is, I ran a need for a lot of memory of the program, causing the computer very card, affecting my daily work, but this program runs a long time, Not a few days to run out. So I wanted to suspend the program, and then I got out of class and let it run in the evening. So this tool didn't help me. If anyone knows how to solve my problem, please tell me how grateful I am.

But even so, I think the tool is very convenient. For example, when playing a stand-alone game, is it more convenient for some cases than the software's own pause function? Of course it practitioners should be more likely to use the scenario.

How to pause (suspend) a running process under Windows cmd

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.