Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I measure a site response time from the console?

share|improve this question
    
Define "site response time". ICMP? Loading a HTML page and rendering all the elements contained? –  Alex Holst Jan 20 '11 at 9:49
    
@Alex, a GET response to a page. Thanks. –  donald Jan 20 '11 at 9:53

4 Answers 4

up vote 1 down vote accepted

Assuming a UNIX system, a simple, artificial way would be:

time lynx http -source -dump http://google.com/ > /dev/null

This will show how long lynx takes to do name lookups, connect to the server, wait for your server and perform the download of data.

Real browsers can cache part of your website, but they also need to render the content, so if your concern is the actual user experience, you don't want to use the lynx method.

share|improve this answer

The question is a bit vague, but you have several ways to do so

  • Use smokeping to see the box behaviour and also outside reach, quite useful
  • Add statistics to apache or your preferred web server to see average serving time of your web pages
  • Check also Load average, that'll give you a good hint too

Also you can use external free sites to check your server like http://www.changedetect.com/ or use Google Analytics as well

share|improve this answer

Question is very vague. One answer would be to

  • install firebug and Google Pagespeed on firefox.

Another answer would be:

  • go spend a 6 figure sum installing Nework and Client Vantage with HTTP protocol decodes and look at the graphs

Another answer would be

  • capture the traffic with TCPdump

Another answer would be

  • reconfigure apache to write %D in the log files

There are hundreds more.

And that's based on lots of assumptions about what you want to measure.

Go read this, this, this and this

share|improve this answer

In addition to all other good suggestions:

Web application transaction performance can be measured with the open source iMacros for Firefox addon from the command line.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.