aboutsummaryrefslogtreecommitdiff
path: root/etc/machine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/machine.sh')
-rwxr-xr-xetc/machine.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/machine.sh b/etc/machine.sh
index 06cea8ac4..fa8d419b4 100755
--- a/etc/machine.sh
+++ b/etc/machine.sh
@@ -14,17 +14,4 @@ else
fi
printf -
printf "$(gcc -march=native -Q --help=target|grep march | cut -d= -f2 | grep -ow '\S*')"
-printf -
-
-for cpu in $(seq 1 $(nproc)); do
- echo "scale=100000;pi=4*a(1);0" | bc -l &
- echo $!
-done | ( \
- sleep .1 ;
- mhz=$(cat /proc/cpuinfo | grep "^[c]pu MHz" | cut -d: -f2 | tr -d ' ' | sort -nr | head -1);
- printf "$(echo "scale=2; ($mhz + 5)/1000" | bc)ghz"
- while IFS= read -r pid; do
- kill "$pid";
- done )
-
printf '\n'