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