Measuring traffic sent received

I'm using WAMP. I want to measure the bytes sent and received while viewing the project. How to do so ?

Answers


Clientside solution: If you are using firefox, the addon firebug ( https://addons.mozilla.org/de/firefox/addon/firebug/ ) can do this.

Serverside solution: You can specify the following in your apache log format (for your access log):

%...B:          Bytes sent, excluding HTTP headers.
%...b:          Bytes sent, excluding HTTP headers. In CLF format

The "..." can be nothing at all (e.g., "%h %u %r %s %b"), or it can indicate conditions for inclusion of the item (which will cause it to be replaced with "-" if the condition is not met).

See: http://httpd.apache.org/docs/1.3/mod/mod_log_config.html

Addition: You will find something like this in your httpd.conf:

 LogFormat "%h %l %u %t \"%r\" %>s %b" common
 CustomLog logs/access_log common

which is easy to customize.


Need Your Help

ArrayList in Java, adding code to methods

java arrays arraylist

Why am I getting a compile time error for the two method headers at the end of my code in my class ArrayListTest?

Load PDF into UIImage or UIImageView?

iphone pdf uiimageview uiimage iphone-sdk-3.2

This is my first ever question on stackoverflow.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.