Name

Query Process — \windows\system32\xd5 process.exe

Synopsis

Display a list of running processes.

To Open

Command Prompt qprocess

Usage

qprocess [target] [/server:computer] [/system]

Description

Query Process is a simple, command-line utility used to display a list of the running processes. A process is essentially any program running in the foreground or running invisibly in the background. Task Manager, discussed later in this chapter, does the same thing, but is much easier to use.

Query Process takes the following parameters:

target

Target can be any of the following: Specify a username to display the processes started by that user. Specify a session name or number (via /id: sessionid) to display all the processes started in that session. Specify a program name to display all the processes associated with that program. Specify an asterisk (*) to list all processes. Finally, omit target to display all the processes started by the current user.

/server: computer

Query a remote computer, where computer is the network name of the machine. Omit to display processes for the local computer.

/system

Include system processes. Type qprocess * /system to display all the currently running processes.

Get Windows XP in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.