Taskkill command Use Daquan

Source: Internet
Author: User


Mr.savin Mr.savin 2009-08-07 183315
TASKKILL [S System [U username [P [password]]
{[FI filter] [PID ProcessID IM ImageName]} [F] [T]

Describe
This command-line tool can be used to end at least one process.
You can end a process based on the process ID or image name.

Parameter list
The S system specifies the remote system to connect to.

U [domain]user Specifies which user context should be in
Execute this command.

P [Password] Specifies for the provided user context
Password. If omitted, prompt for input.

F Specifies to forcibly terminate
Process.

The FI filter specifies that the filter is filtered into or filtered out of the query
The task.

The PID process ID specifies the
Pid.

The IM image name specifies which process to terminate
The image name. wildcard character '
Can be used to specify all image names.

T Tree kill terminates the specified process
And any child processes that are started from this.

Displays the help usage.

Filter
Filter name valid operator valid value
----------- --------------- --------------
STATUS eq, ne Run no response
IMAGENAME eq, NE image name
PID eq, NE, GT, lt, GE, le PID value
Session eq, NE, GT, lt, GE, le session number
CPUTime eq, NE, GT, lt, GE, le CPU time, format
Hhmmss.
HH-When,
MM-Clock, SS-Sec
Memusage eq, NE, GT, lt, GE, le memory used, in kilobytes
USERNAME eq, NE user name, formatted as
[Domain]user
MODULES eq, NE DLL name
Services EQ, NE service name
WindowTitle eq, NE window title

Note You can use the wildcard character ' for IM switching only with a filter.

Note that remote processes are always forced to terminate,
Whether or not the F option is specified.

For example
TASKKILL S system F IM notepad.exe T
TASKKILL PID 1230 PID 1241 PID 1253 T
TASKKILL F im notepad.exe im MSPaint.exe
TASKKILL F fi PID ge windowtitle ne untitle
TASKKILL F FI USERNAME eq NT authoritysystem IM notepad.exe
TASKKILL S system U domainusername FI USERNAME ne NT IM
TASKKILL S system U username P password FI IMAGENAME eq Note

Taskkill command Use Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.