[CentOS] http request, which command is good for testing

Matty matty91 at gmail.com
Mon Dec 6 19:00:36 UTC 2010


On Mon, Dec 6, 2010 at 1:52 PM, adrian kok <adriankok2000 at yahoo.com.hk> wrote:
> Hi all
>
> I just know there are curl / lwp-request, lynx and elinks
>
> Which command is good for http testing?

I've had good luck with both curl and wget. There are other tools like
smokeping and httping that ca test a site, but I've had great luck
combining wget / curl with bash or perl. Here are two example scripts
that might help you:

http://prefetch.net/code/content-check

http://prefetch.net/code/http-ping.pl

Hope that helps,
- Ryan
--
http://prefetch.net



More information about the CentOS mailing list