add cpu instruction detected
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user