2, task and process display tool: Tlist
Function: Lists all tasks, process names, and PID numbers loaded in the machine.
Because of the need to use the task and process, so first of all the relevant concepts: the meaning of the task is not too much to say that we know. "Process" has a specific meaning. English is used in the process, PowerWord and other dictionaries in the translation of the "procedure", but from the actual meaning of the analysis, should be the process; another corroboration is that the Chinese language shown in Cw2kp's task Manager is also a process. This is the subject of this article. The exact meaning of these terms can be found in a specific reference to the interpretation.
Many times, or allow multiple instances of the same program in memory, each will have its own process. If you open two Notepad and perform two Notepad programs, although the same Notepad is open, the process of two instances is different.
The task and process display tool itself is not of much use, its main function is to provide information to Task Manager, process Interrupt tool, so it is tool tool. It also has two versions: a command-line version that works directly with the Tlist command and a number of parameters, and in a CW2KP environment, where tlist is no longer a separate part, but rather an integration with other tools such as Task Manager. If the machine in front of you is using a CW2KP, you can now press Ctrl+alt+del three keys at the same time. (Don't be afraid, this is not DOS and will not cause hot start.) At this time, there will be a dialog box "task Manager", the mouse click on the "Process" tab, there are many items in the list, where the "image name", "PID" Two, is the system in the background using tlist get. The image name is actually the name of the program, and the number in the PID column is the PID number that the system assigns to the process. For example, I used Task Manager on my current machine to find out that there was an image named "WPS32." EXE "process, PID is 892. Re-execution: "Start-$#@62; program-$#@62;windows2000 support tools-$#@62; tools-$#@62; Command Prompt, after the cursor in the Open Command Line window, type: tlist, and then enter, and in Tlist's listed information, you can find WPS32. EXE "process, the PID number is 892, which shows that the results are consistent.
In addition to Task Manager, there is a tool to find the shadow of Tlist: called "Process Viewer", which is known as the "Progress observation tool." You can start-$#@62 the program-$#@62;windows2000 support tools-$#@62; tools-$#@62; Process Viewer "found. When opened, the process name and the PID represented in hexadecimal are listed below, for example, the name of a process is CSRSS, followed by parentheses asleep ?x84, which is the PID number. It would have been possible to introduce the process viewer here, but it had a "Kill Process" feature that was related to Kill.EXE, so I put it in the back of the Kill.EXE merge.
The following is the syntax for task and process display tools:
tlist [PID] [pattern] [-M pattern] [-P processname] [-S] [-t]
Command and parameter description
Tlist only use this command, you can list the running process name, PID number, window caption text (if any) without using any parameters.
PID PID number, when a PID number parameter is given after the command, tlist lists the details of the corresponding task or process
Pattern pattern can be the task, the name of the process, the title of a program window (you can use the full name or the wildcard character expression). When this information is given, tlist lists the corresponding details. If you use the following command line:
Tlist scr* (here * can be substituted for any number of legitimate characters)
This command lists information only for processes that contain SCR characters in all names.
The-M pattern usage is similar to the one above but lists the DLL file information used instead of the process information. You can use the full name and wildcard character. Such as:
Tlist-m scr*
Lists all mounted DLL file names containing the character SCR.
-P processname Known the name of the process, you can use this parameter to get the PID number, in front of the WPS case. Perform:
Tlist-p Wps32.exe
The PID returned is: 892. If there is no PID corresponding to the process name, returns-1;
∪ curled Huai sash 蛴 unloading oh pelochely bibroni the , I apologize 匚 the phlegm Mold school pelochely bibroni?
-S Displays the service information that is activated in each process.
-T shows the hierarchical relationship between tasks and processes in the way the tree is modeled, where the parent layer is shifted to the left, the child layer, and the shepherds layer gradually to the right.
In the Tlist program Help file (English), which parameter how to use, output results, there are very detailed examples, as long as the basis of DOS, will almost understand. Because of its length, it is difficult to attach to this article. Interested friends, you can find out their own reference.