mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
22 lines
387 B
Markdown
22 lines
387 B
Markdown
# Limit the CPU usage of a process
|
|
|
|
See [`cpulimit`][cpulimit]:
|
|
|
|
```sh
|
|
sudo cpulimit -p 'process-id' -l 'cpu-percentage'
|
|
```
|
|
|
|
## Sources
|
|
|
|
- [25 awesome linux command one-Liners]
|
|
|
|
<!--
|
|
References
|
|
-->
|
|
|
|
<!-- Knowledge base -->
|
|
[cpulimit]: cpulimit.md
|
|
|
|
<!-- Others -->
|
|
[25 awesome linux command one-liners]: https://betterprogramming.pub/25-awesome-linux-command-one-liners-9495f26f07fb
|