Linux kill process, linux Process

Source: Internet
Author: User

Linux kill process, linux Process

Pkill commandThe process can be killed by process name. The pkill method is similar to the killall method. It also directly kills the running program. If you want to kill a single process, use kill to kill it.

Syntax
Pkill (option) (parameter)
Option
-O: send signals only to the minimum (START) process number found.-n: send signals only to the maximum (end) process number found.-P: specify the sending signal of the parent process number;-g: Specifies the Process Group;-t: Specifies the terminal for enabling the process.
Parameters

Process name: Specifies the name of the process to be searched. It also supports matching modes similar to those in the grep command.

Instance
Pgrep-l gaim2979 gaimpkill gaim

That is to say, kill corresponds to PID and pkill corresponds to command.

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.