How to Limit The CPU Usage of Any Process in Linux
Sep 24, 2010, 20:02 (1 Talkback[s])
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
"Have you ever experienced the situation where you open one
particular application (such as Firefox) and it brings the whole
system to a standstill? If you are running a web server, the last
thing that you want to see is to have an application crashes the
whole system and bring all the websites down.
"Cpulimit is an application for Linux that can limit the CPU
usage of a process. It is useful if you want to restrict a
particular application from taking up too much CPU resources and
thereby crashing the system. This can also be useful when you need
to run several intensive programs simultaneously.
"Note: cpulimit should work for all Linux distro. In this
tutorial, we will be using Ubuntu for illustration."