The Tasklist command

  
that you are not familiar with in Windows XP uses the “Ctrl+Alt+Del” key combination to enter the "Windows Task Manager", in the "Processes" tab you can view the complete process of the machine. List, unfortunately, we can't see which system services are provided by these processes. In fact, a new command line tool in Windows XP "Tasklist.exe" can achieve the above functions.
The Tasklist command is used to display all processes running on a local or remote computer with multiple execution parameters. Use format:
Tasklist[/S system[/U username[/P[password]]]][/M[module]|  /SVC |  /V][/FI filter? [/FO format][/NH]
Parameter meaning:
/S ystem Specifies the remote system to connect to.
/U[omain\\]user Specifies which user to use to execute this command.
/P[password] specifies a password for the specified user.
/M[module] lists all the processes that call the specified DLL module. If no module name is specified, all modules loaded by each process are displayed.
/SVC shows the services in each process.
/V Show details.
/FIfilter Displays a series of processes that match the filter specification.
/FOformat Specifies the output format, valid values: TABLE, LIST, CSV.
/NH specifies that the column target is not displayed in the output. Only valid for TABLE and CSV formats.
Let's take a look at the application example of the Tasklist command.
1. View the process of the remote system
Enter "ldsklist /s 218.22.123.26 /u jtdd /p 12345678" (without the quotation marks) at the command prompt to view the IP address of 218.22.233.26. The process of the remote system. The /s parameter after "218.22.123.26" is the IP address of the remote system to be viewed. After /u, "jtdd" refers to the user account used by the Tasklist command. It must be a valid account on the remote system. /p after “12345678” refers to the password of the jtdd account.
Note: When using the Tasklist command to view the process of the remote system, the RPC service support of the remote machine is required. Otherwise, the command cannot be used normally.
Copyright © Windows knowledge All Rights Reserved