Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/future4tech/public_html/wp-includes/functions.php on line 6114
Query Process / QPROCESS – Windows CMD Command - Future4Tech

Query Process / QPROCESS – Windows CMD Command

Display information about processes.

Syntax
      QUERY PROCESS * [/server:ServerName]

      QUERY PROCESS ProgramName [/server:ServerName]

      QUERY PROCESS ProcessID [/server:ServerName]

      QUERY PROCESS SessionName [/server:ServerName]

      QUERY PROCESS /id:nn [/server:ServerName]

Key
   *           List the processes for all sessions.

   ProcessID   The numeric ID identifying the process that you want to query.

   UserName    The name of the user whose processes you want to list.

   SessionName The name of the session whose processes you want to list.

   /id:nn      The ID of the session whose processes you want to list.

   ProgramName The name of the program whose processes you want to query.
               The .exe extension is required.

   /server:ServerName
               The Remote Desktop Session Host server whose processes
               you want to list.
               default = server where you are currently logged on.

   /?          Display help.
QPROCESS is a synonym for QUERY PROCESS.

QUERY PROCESS returns the following information:

  • The user who owns the process
  • The session that owns the process
  • The ID of the session
  • The name of the process – only the first 12 letters.
  • The ID of the process

If you do not specify a process with UserNameSessionName, or SessionID, then QUERY PROCESS will return only the processes that belong to the current user. When information for multiple processes is returned, a greater than > symbol is displayed before each process that belongs to the current session.

Administrators have full access to all query process functions.

Examples

Display information about the processes being used by all sessions:

C:\> query process *

Display information about the processes being used by session ID 2:

C:\> query process /ID:2

You may also like...

1 Response

  1. www.replicamagic.co says:

    a pleasurable world wide web

Leave a Reply

Your email address will not be published. Required fields are marked *


Notice: ob_end_flush(): Failed to send buffer of zlib output compression (0) in /home/future4tech/public_html/wp-includes/functions.php on line 5464