opsengine / cpulimit

CPU usage limiter for Linux
Other
1.7k stars 270 forks source link

Is there any way to forge CPU usage? #87

Open caojioayue opened 5 years ago

caojioayue commented 5 years ago

Is there any way to forge CPU usage?I don't want people to see the real CPU load by command

sam6666666 commented 5 years ago

Normal methods are not possible, and the conditions for calculating CPU utilization are all output at the kernel level. You can modify the top command if you want to hide it on commands like top.