Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matsumotory/resources-managed-tools
managed resources tools using cfs and cgroups.
https://github.com/matsumotory/resources-managed-tools
Last synced: about 2 months ago
JSON representation
managed resources tools using cfs and cgroups.
- Host: GitHub
- URL: https://github.com/matsumotory/resources-managed-tools
- Owner: matsumotory
- Created: 2012-08-16T06:19:23.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-17T06:39:48.000Z (over 12 years ago)
- Last Synced: 2024-10-18T18:17:46.793Z (3 months ago)
- Language: Perl
- Homepage:
- Size: 94.7 KB
- Stars: 9
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: change-cpu-rate
Awesome Lists containing this project
README
## What's managecpu.pl
Perl tool for managed cpu by CFS## How to use
### run-cpu-rate
- 50% cpu rate limit./run-cpu-rate 50 sh while.sh
- Cheking "top" command
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5020 root 20 0 3304 968 840 R 49.9 0.0 0:05.97 sh### change-cpu-rate
- Cheking "top" commandPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5023 root 20 0 2304 921 740 R 89.2 0.0 0:02.38 sh- Change cpu rate
./change-cpu-rate -p 5023 -r 30
- Cheking "top" command
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5023 root 20 0 2304 921 740 R 29.9 0.0 0:03.18 sh- Unset cpu rate
./change-cpu-rate -p 5023 -r 0