forked from openGauss-Ecosystem/openGauss-server
add cpu instruction detected
This commit is contained in:
parent
3eaf5e5066
commit
f2475579f6
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue