Display current CPU frequencies from /proc/cpuinfo. This is a sample of the Nim language.
/proc/cpuinfo
Usage: cpufreq [-b|--brief] [-t|--table] [-h|--help] [-v|--version]
First install Nim language compiler. See instructions on Nim site. You need Nim v1.2.0 or newer.
Compile programm:
nim c cpufreq.nim
Done! You can place cpufreq executable to your PATH, e.g. /urs/local/bin.
cpufreq
/urs/local/bin