mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
CPU [IRIX]: Fix speed
This commit is contained in:
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
Block a user