如何ping FastCGI服务器? [英] How do I ping a FastCGI server?

查看:75
本文介绍了如何ping FastCGI服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何检查FastCGI服务器是否仅在建立TCP连接后仍处于活动状态并可以正常运行?

How do I check if a FastCGI server is alive and running normally beyond just making a TCP connection?

我有许多远程独立的FastCGI服务器.我想监视FastCGI服务器本身,以确保其正常运行.仅仅向Web服务器发出请求是不够的,因为它会绕着死服务器自动路由.

I have a number of remote, stand-alone FastCGI servers. I want to monitor the FastCGI server itself to ensure its alive. Simply making a request of the web server is not enough as it will automatically route around a dead server.

谢谢!

推荐答案

您可以使用

You can use cgi-fcgi program that comes with FastCGI development kit. On Debian-like systems, and in macports, program is included with libfcgi package.

我的具有cgi-fcgi调用的脚本发布在 http://gist.github.com/209446

My script with cgi-fcgi invocation is published at http://gist.github.com/209446

这篇关于如何ping FastCGI服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆