1.查看Apache版本
[root@worker1 ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Apr 2 2020 13:13:23
2.开启server-status
cat >> /etc/httpd/conf/httpd.conf <<‘EOF‘
<Location "/server-status">
SetHandler server-status
Allow from 10.1.30.0/24 #添加你允许访问的网段
</Location>
3.重启服务
systemctl restart httpd
4.成功状态
http://<httpd服务器ip>/server-status