Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
$ 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 -> 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

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:

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

share|improve this answer

Your Answer


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.