Created
June 12, 2023 10:18
-
-
Save szydan/7c553d18be04577ed13568a35d4b6fc8 to your computer and use it in GitHub Desktop.
limit memory and cpu from command line ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemd-run --user --scope -p AllowedCPUs=1 -p MemoryMax=1G -p CPUQuota=10% yarn start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment