If what you are after is really the full byte traffic at the lowest level, and if you are under Linux, how about this :

1) cat /etc/network/interfaces
and look for the name of the interface which matches the address tomcat is 
listening on.
e.g. (in my case, real addresses scrambled) :

iface eth1 inet static
        # dns-* options are implemented by the resolvconf package, if installed
        dns-search mydomain.com
(So gere the interface name is eth1)

2) then, assuming your tomcat is listening on HTTPS port 443 :
iftop -i eth1 -P -f "port https"
(see "man iftop" for additional details/options)

Note : "iftop" is a tool that works at almost the closest level to the physical network interface as you can get. Any tool that works at the Java or Tomcat level, is probably not going to be able to show the real IP-level byte count (including the full TCP headers etc.).

On 30.08.2019 15:30, Michael Duffy wrote:
Thx Guido.

I would appreciate more details.

You could post them as a reply to this email or if you are on StackOverflow
I will post the question there.  I think your answer would get a lot of up


On Fri, Aug 30, 2019 at 6:01 AM Jäkel, Guido <g.jae...@dnb.de> wrote:

Dear Michael,

you may read the statistic values provided by the Connector (and others
like busy works, load, heap usage or even the request scoreboard) via JXM
or even (by help of the JMX Proxy Servlet) via HTTP. You may contact me if
you need more advice.



-----Original Message-----
From: Michael Duffy [mailto:mduffy...@gmail.com]
Sent: Friday, August 30, 2019 2:36 AM
To: users@tomcat.apache.org
Subject: Re: Tomcat Bandwidth Utilization Tool

There is a " Bytes received: 0.00 MB Bytes sent: 12.03 MB" in the Tomcat
Manager; however, the received count does not change and the sent count
seems low.

On Thu, Aug 29, 2019 at 7:09 PM Michael Duffy <mduffy...@gmail.com>

Is there a simple tool that will show bandwidth utilization to and from
the Tomcat server?

I am looking for something that will provide an exact byte count of the
TCP/IP packets.

I would have thought this would be an easy find; however, after hours of
Googling around I have not yet been successful.

There are some options here:
none of them specifically mention integration with Tomcat.

At the application level, if I just measure the byte flow into and out
my application, I will miss the bytes in the TCP/IP headers.

Any suggestions would be greatly appreciated.



To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to