mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mtr on FreeBSD detects core count for --parallel=auto
This commit is contained in:
committed by
Daniel Black
parent
32ee6670a5
commit
4911ec1a5b
@ -427,7 +427,7 @@ sub main {
|
||||
{
|
||||
$opt_parallel= $ENV{NUMBER_OF_PROCESSORS} || 1;
|
||||
}
|
||||
elsif (IS_MAC)
|
||||
elsif (IS_MAC || IS_FREEBSD)
|
||||
{
|
||||
$opt_parallel= `sysctl -n hw.ncpu`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user