Home XP Commands
XP Syntax

PsSuspend (part of PsTools - download PsSuspend)

Suspend processes on the local or a remote system.

Syntax
      pssuspend [- ] [-r] [\\computer [-u user] [-p passwd]] <process name | process id>

Options:

   computer   The computer on which the service resides. Default=local system 

   -p passwd  Specify a password for user (optional). Passed as clear text.
              If omitted, you will be prompted to enter a hidden password.

   -u user    Specify a user name for login to remote computer(optional).

   -r         Resume the processes specified if they are suspended.

   process id/name
              The process or processes to suspend or resume.

   -          Help, display the supported options.

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

Examples:

Suspend the notepad process on \\workstation64

pssuspend \\workstation64 notepad

Related Commands:

PsKill - Kill processes by name or process ID



Back to the Top

Simon Sheppard
SS64.com