Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Use curl and a list of URLs to check for Internal Server Errors on Rails Apache Installs (See related posts)

This isn't a benchmark, but it's a great way to send a lot of requests to your box and check if there's anything wrong with your FastCGI setup:

for url in `cat urlslist.txt`;
    while [  $COUNTER -lt 2 ]; do
        echo -n ${COUNTER}-
        curl --silent --user yourUSER:yourPASS $url | grep "Internal"
        let COUNTER=COUNTER+1 

Comments on this post

belorion posts on Jun 29, 2005 at 19:59
I just posted a snippet that would work well in conjunction with this one (Basic Web Crawler:

You need to create an account or log in to post comments to this site.

Related Posts