Skip to content

cpu load

vp-utils cpu load

Make CPU load

Synopsis

Starts a CPU load using the specified number of parallel workers (threads) for a given duration. Each worker fully loads the CPU by performing intensive prime number calculations. The command measures wall time, total CPU time, and average CPU utilization in percent. Useful for testing system performance, cooling, or stability.

Output explanation: Wall time: Real elapsed time from start to finish (as seen on a clock). CPU time: Total time spent by all threads on the CPU (can be higher than wall time if running in parallel). CPU utilization: Average CPU usage during the test, in percent. Values above 100% mean multiple CPU cores were used.

Examples: cpu load --duration 60 --workers 8 cpu load -d 10 -w 2

vp-utils cpu load [flags]

Options

  -d, --duration int   Duration of the load in seconds (default 30)
  -h, --help           help for load
  -w, --workers int    Number of parallel workers (CPU cores) (default 4)

SEE ALSO

Auto generated by spf13/cobra on 18-Sep-2025