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, omittargetto display all the processes started by the current user.-
/server:computer Query a remote computer, where
computeris the network name of the machine. Omit to display processes for the local computer.-
/system Include system processes. Type
qprocess * /systemto display all the currently running processes.
See Also
Task Manager, Taskkill, and Tasklist
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access