PsSuspend

Sysinternals PsTools

PsSuspend

PsSuspend lets you suspend processes on the local or a remote system, which is desirable in cases where a process is consuming a resource (e.g. network, CPU or disk) that you want to allow different processes to use. Rather than kill the process that's consuming the resource, suspending permits you to let it continue operation at some later point in time.

Installation
 

Copy PsSuspend onto your executable path and type "pssuspend" with command-line options defined below.

Usage
 

Running PsSuspend with a process ID directs it to suspend the process of that ID on the local computer. If you specify a process name PsSuspend will suspend all processes that have that name. Specify the -r switch to resume suspended processes.

 

usage: pssuspend [-r] [\\computer [-u username] [-p password]] <process name | process id>

 

-r

Resumes suspended processes.

 

-u

Specifies optional user name for login to remote computer.

 

-p

Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

 

process id

Specifies the process ID of the process you want to suspend.

 

process name

Specifies the process name of the process or processes you want to suspend.