MageDirect

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: 23
Rate us
1 Star2 Stars3 Stars4 Stars5 Stars
(7 votes, average: 4.86 out of 5)
Loading...
Bottom Top