3. Termination tools for tasks and processes
The tasks described in the previous article are tlist with the process display tool, which is primarily about providing information for administrative tasks and processes. The so-called "management" is nothing more than to suspend a task or process, or change their priority. command-line tasks and process management tools, only abort the process function, do not change the priority function. The program name is Kill. EXE. Kill is meant for killing! That is, you can use it to "kill" an existing task or process! Does that sound a little scary? In order not to feel scary, I use the name "Abort" instead. Stop or kill, there is a but who can ask who to operate the question: you want to abort which task or which process? How does it get its name? Where do you get the clue? What do you rely on to change the priority of a task or process? This has to understand the original priority level first. All this information must be provided for you by the task and process display tools described in the previous article. So, here's the assumption that you've used tlist, and you've got the corresponding process name or PID.
Kill. EXE, its complete syntax and usage are as follows:
Kill [/F] {process_id | pattern}
Command: Kill
Parameters:
/F: Force abort.
PROCESS_ID: Specifies the PID of the aborted task or process. For example:
Known wnvirq32. The exed PID is 204, executed in a command-line environment:
Kill 204
Back: Process #204 killed, that is, first tell the PID to abort the process, and then abort it.
Pattern: Specifies the name of the aborted task, process, or run window title, using either the full name or the wildcard character. Assuming that the known atsvc.exe is a process name, execution: Kill Atsvc Returns the process #180 [Atsvc.exe] killed,180 is the PID number. This parameter can also be used as a DOS command to use the wildcard character, as in the following command:
Kill *help
Aborts tasks, processes, and windows that contain help characters in all names
Process Viewer This "kill" the task or process tool, in addition to Kill.exe, there is a for Windows version, the name is: Process Viewer, this is the last article we mentioned the program, the name of the Chinese meaning has "process observation" meaning, At first glance it seems neutral and Win Wenjal, but the third button's title is Kill Process, and this is not like "good".
The function of this tool is much stronger than Kill.exe. and support remote process management, in the dialog box computer the right side of the edit bar, enter the name of another computer connected, click the Connect button, you can do tasks and process management of another computer. Only local process management is described here, and its approach is appropriate for remote administration.