How to kill the process in CentOS or Ubuntu

If we need to kill a process at CentOS or Ubuntu, we can do this as follows:
1. Log in as the root user.

2. Find the process we need with the command:

Where {process_name} is the process name. For example, MySQL.
3. Then execute the following command:

Where PID is the process ID.

That is all!

Was this article helpful?
Dislike 0
Views: 48
Ihor Klymchuk
Rate us
Please wait...