CPU [IRIX]: Fix speed

This commit is contained in:
Muhammad Herdiansyah 2017-05-24 11:48:08 +07:00
parent b88e86e856
commit 6cb37b91a7
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ get_cpu() {
cpu="$(hinv -c processor | awk -F':' '/CPU:/ {printf $2}')" cpu="$(hinv -c processor | awk -F':' '/CPU:/ {printf $2}')"
# Get CPU speed. # Get CPU speed.
cpu="$(hinv -c processor | awk '/MHZ/ {printf $2}')" speed="$(hinv -c processor | awk '/MHZ/ {printf $2}')"
# Get CPU cores. # Get CPU cores.
cores="$(sysconf NPROC_ONLN)" cores="$(sysconf NPROC_ONLN)"