Format CPU output on BSD

This commit is contained in:
Dylan Araps 2016-05-12 20:31:36 +10:00
parent e67d6609d1
commit db2824a8e1
1 changed files with 2 additions and 0 deletions

View File

@ -1103,6 +1103,8 @@ getcpu () {
# Get cpu cores
cores=$(sysctl -n hw.ncpu)
cpu="$cpu @ ${speed}GHz"
;;
esac