diff --git a/simpleInstall/install.sh b/simpleInstall/install.sh index 2b50685b5..f092048ee 100644 --- a/simpleInstall/install.sh +++ b/simpleInstall/install.sh @@ -156,6 +156,11 @@ function check_os() { info "The required value should be greater than ${conn_floor}. You can modify it in file '/etc/sysctl.conf'." exit 1 fi + # check cpu instruction + if [ X"$(cat /proc/cpuinfo | grep rdtscp | uniq)" == X"" ] + then + echo "The cpu instruction rdtscp is missing." && exit 1 + fi } function change_gausshome_owner() {