/cpu-load-generator

A little go program to generate CPU load (as close as possible) to a Threshold

Primary LanguageGoMIT LicenseMIT

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:

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}.