https://github.com/turbopape/cpu-load-generator
A little go program to generate CPU load (as close as possible) to a Threshold
https://github.com/turbopape/cpu-load-generator
cpu-scheduling go system-programming
Last synced: 10 months ago
JSON representation
A little go program to generate CPU load (as close as possible) to a Threshold
- Host: GitHub
- URL: https://github.com/turbopape/cpu-load-generator
- Owner: turbopape
- License: mit
- Created: 2020-06-13T14:55:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T15:15:15.000Z (almost 6 years ago)
- Last Synced: 2023-02-26T10:46:42.114Z (over 3 years ago)
- Topics: cpu-scheduling, go, system-programming
- Language: Go
- Size: 2.93 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CPU Load Generator
A Program to generate CPU Load on Unices (Tried on mac OSX) and Windows, trying to attain a Threshold (30.0 % default)
clone the repository, then:
```shell
cd cpu-load-generator
go get .
go build && go install
cpu-load-generator --help
```
Code for CPU Time accounting is in cpu_tools_{darwin,windows}.