5 lines
119 B
Bash
5 lines
119 B
Bash
# Get the number of avaialble cores (threads).
|
|
function _core_count() {
|
|
cat /proc/cpuinfo | grep ^processor | wc -l
|
|
}
|