Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.
$ sudo tshark -i eth0 -R 'http.request.method == "GET"' "port 80"
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
  5.641015   10.53.0.66 -> 209.85.143.104 HTTP GET / HTTP/1.1 

I want to get number of bytes against each HTTP request. Can you help me to do that. In my analysis, i have different number of HTTP request (may be four different type of HTTP request) and i want to plot a graph of traffic (number of bytes) against each HTTP request

share|improve this question

1 Answer 1

You'll probably want to use the wireshark GUI utility versus the tshark command line tool.

You can separate this into two steps, if you like, with the -w option to tshark. Then copy the file to your full-UI environment and open it with the wireshark utility.

Perhaps this is what you want:

http://www.wireshark.org/docs/wsug_html_chunked/ChStatIOGraphs.html

It will depend on how you can write filters to separate out your HTTP requests by type.

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.