#!/usr/bin/env sh
CSPEED="$(sysctl -n hw.cpuspeed)"
CP="$(echo "scale=2; $CSPEED / 1024" | bc)"
printf '%s\n' "CPU: ${CP}Ghz"