count total bogomips

This commit is contained in:
lachtan
2021-10-19 21:10:23 +02:00
parent 83794c6f00
commit def2b5c25f
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
cat /proc/cpuinfo | awk 'BEGIN {IGNORECASE=1;} /bogomips/ {total += $3} END { printf "%0.0f\n", total }'