count total bogomips
This commit is contained in:
4
bin/bogo-total
Executable file
4
bin/bogo-total
Executable 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 }'
|
||||
|
||||
Reference in New Issue
Block a user