Use 'slay 'to kill all processes of a user.

Source: Internet
Author: User

Use 'slay 'to kill all processes of a user.

Slay is a command line tool written by Chris Ausbrooks to kill all running processes of a specified user. Slay is useful for system administrators to find out users who should not run processes.

Slay has an official repository in most releases.

Install

 

Ubuntu and its derivative version
  1. Sudo apt-get install slay

 

Arch Linux and its derivative version
  1. Sudo pacman-S slay

 

Fedora and its derivative version
  1. Sudo yum install slay

 

Usage

You should have the administrator privilege to use slay,

To kill the process of the specified user, you must:

  1. Sudo slay <usename>

For example, I want to kill all the processes of the user amitooo.

  1. ~ Sudo slay amitooo
  2. Slay: Done.

After running slay, you should be able to see the feedback.

Good ?!

This article permanently updates the link address:

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.