esq*_*qew 1 monitoring centos apache-httpd
我的网络服务器运行 CentOS,每次访问我的论坛上的某个页面时,都会httpd
锁定,我似乎永远无法查明确切的文件。
有没有办法查看当前在基于 CentOS/UNIX 的服务器上打开请求的页面?
如果您已mod_status
启用(并且可能ExtendedStatus
设置为开),并且您在这样的白名单中:
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
Run Code Online (Sandbox Code Playgroud)
您可以获得进程和线程正在执行的操作、正常运行时间等的列表http://your.server/server-status
。(不过,如果您的服务器完全没有响应,则无济于事。)