Infrastructure Layer
CPU Attack
The CPU Gremlin generates high load for one or more CPU cores. It does this by running expensive arithmetric operations across a number of threads (one for each core targeted). When the CPU Gremlin runs, the OS Scheduler decides where the process will run and your application (and all other processes) will compete for CPU time. There's no guarantee that our process will all block others.
Options
Parameter | Flag | Required | Default | Version | Description |
---|---|---|---|---|---|
Cores | -c int | False | 1 | 0.0.1 | The number of cores to try to utilize. |
Percent | -p <0-100> | False | 100 | 2.11.0 | The percent of each core to utilize. |
All Cores | -a | False | False | 2.11.0 | If set, consume all available cores (cannot be used with -c parameter). |
Length | -l int | False | 60 | 0.0.1 | The length of the attack (seconds). |