cpulimit
cpulimit copied to clipboard
CPU usage limiter for Linux
Can you supply a systemd service file ? Thanks
fix bug: avoid cpulimit eats up too much cpu resource
While bootup, cpulimit process workrate initial as -1 ,and cpu rate is 0. then workrate will be a large negative value,that's leads to nanosleep fail.
Here is how it looks like: https://www.youtube.com/watch?v=LN_DjgREXjU CPUlimit version 2.4
Send SIGUSR1 or SIGUSR2 to cpulimit to turn the limit up or down by 1 %age point at a time.
It's useful to be able to tell from the exit code whether a process was interrupted or not.
Anyone know what the period of calculating utilization % is? And if so is there a way to manually set it? I'd ideally like to be able to, say, set...
I'm using CentOS 5.8 with kernel Linux 2.6.18-308.16.1.el5xen (VDS). And I urgently need to cut CPU for mysqld but cpulimit goes in Segmentation fault after a some time of running....
- sys/sysctl.h has been deprecated and should be removed - Adds missing libgen.h include when calling basename()