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:
1 | ps aux | grep {process_name} |
Where {process_name} is the process name. For example, MySQL.
3. Then execute the following command:
1 | kill -9 {PID} |
Where PID is the process ID.
That is all!
Ihor KlymchukTechnical Lead
Rate us
Please wait...
Related articles
- If you don’t know how to create a custom cache type in Magento, this article...
- Do you know how to create custom product type? We know! And would be glad to...
- Want to use the latest trend Progressive Web Apps? Read how to install PWA on...
- Create CMS page for Magento 2 programmatically and without...
- Do you follow all the Magento code standards? Know more about them with a help...
- How to create Admin Grid in Magento 2: read our detailed...
- It is important to clear cache on the Magento 2 store. If you are not sure how...
- Do you know how to install Magento 2? Read our guide and be sure that...