diff --git a/mysqltuner.pl b/mysqltuner.pl index 00f08a5..df3dde7 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -473,6 +473,9 @@ sub check_architecture { } elsif (`uname` =~ /AIX/ && `bootinfo -K` =~ /64/) { $arch = 64; goodprint "Operating on 64-bit architecture\n"; + } elsif (`uname` =~ /FreeBSD/ && `sysctl -b hw.machine_arch` =~ /64/) { + $arch = 64; + goodprint "Operating on 64-bit architecture\n"; } else { $arch = 32; if ($physical_memory > 2147483648) {