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