LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2011, 06:13 AM   #1
ridoy
LQ Newbie
 
Registered: Feb 2011
Posts: 19

Rep: Reputation: 1
response time


i have made a simple web server in Java.now i want to measure the response time of my server.i also want to calculate the average response time of my server if it receives more than one client request.How can i do this,do u have any idea?

Last edited by ridoy; 04-04-2011 at 11:43 AM.
 
Old 03-21-2011, 06:32 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You can use the apache ab tool to test your server

Regards
 
Old 03-21-2011, 02:15 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If all of the traffic is on a network, you can use a packet sniffer to detect the requests and responses. There will be time-stamps on the packets. You might have to post-process the data to acquire useful statistics.
--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
response time tommytomato Ubuntu 3 07-08-2007 05:49 AM
how to improve response time arunvk Linux - General 8 12-07-2005 04:46 AM
Latency in HTTPD’s response time. aenright Linux - Networking 2 05-31-2005 07:07 AM
Slowdown in pc response time dregoma Linux - Newbie 1 02-11-2004 01:19 PM
Keyboard response time niyaah Linux - Newbie 0 10-13-2002 09:20 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration