Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Created February 25, 2022 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zulhfreelancer/71bb911d400579da9ce9a76cd5775a7c to your computer and use it in GitHub Desktop.
Save zulhfreelancer/71bb911d400579da9ce9a76cd5775a7c to your computer and use it in GitHub Desktop.
Basic Raspberry Pi Benchmarking Script
#!/bin/bash
vcgencmd measure_temp
vcgencmd get_throttled
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1
vcgencmd measure_temp
vcgencmd get_throttled
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1
vcgencmd measure_temp
vcgencmd get_throttled
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1
vcgencmd measure_temp
vcgencmd get_throttled
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1
vcgencmd measure_temp
vcgencmd get_throttled
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1
vcgencmd measure_temp
vcgencmd get_throttled
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=4 run >/dev/null 2>&1
vcgencmd measure_temp
vcgencmd get_throttled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment