CPU [IRIX]: Fix speed
This commit is contained in:
parent
b88e86e856
commit
6cb37b91a7
2
neofetch
2
neofetch
|
@ -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)"
|
||||||
|
|
Reference in New Issue