You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Duffy <md...@gmail.com> on 2019/08/30 00:09:36 UTC
Tomcat Bandwidth Utilization Tool
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:
https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/ ,but
none of them specifically mention integration with Tomcat.
At the application level, if I just measure the byte flow into and out of
my application, I will miss the bytes in the TCP/IP headers.
Any suggestions would be greatly appreciated.
Thx.
Mike
Re: Tomcat Bandwidth Utilization Tool
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
Hi.
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
address 155.55.55.178
netmask 255.255.254.0
network 155.55.55.0
broadcast 155.55.55.255
gateway 155.55.55.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.20.80 155.55.55.16
dns-search mydomain.com
root@myhost:~#
(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
> votes.
>
> Mike
>
> On Fri, Aug 30, 2019 at 6:01 AM Jäkel, Guido <G....@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.
>>
>> greetings
>>
>> Guido
>>
>>> -----Original Message-----
>>> From: Michael Duffy [mailto:mduffy215@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 <md...@gmail.com>
>> wrote:
>>>
>>>> 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:
>>>> https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/
>> ,but
>>>> none of them specifically mention integration with Tomcat.
>>>>
>>>> At the application level, if I just measure the byte flow into and out
>> of
>>>> my application, I will miss the bytes in the TCP/IP headers.
>>>>
>>>> Any suggestions would be greatly appreciated.
>>>>
>>>> Thx.
>>>>
>>>> Mike
>>>>
>>>>
>>>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat Bandwidth Utilization Tool
Posted by Michael Duffy <md...@gmail.com>.
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
votes.
Mike
On Fri, Aug 30, 2019 at 6:01 AM Jäkel, Guido <G....@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.
>
> greetings
>
> Guido
>
> >-----Original Message-----
> >From: Michael Duffy [mailto:mduffy215@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 <md...@gmail.com>
> wrote:
> >
> >> 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:
> >> https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/
> ,but
> >> none of them specifically mention integration with Tomcat.
> >>
> >> At the application level, if I just measure the byte flow into and out
> of
> >> my application, I will miss the bytes in the TCP/IP headers.
> >>
> >> Any suggestions would be greatly appreciated.
> >>
> >> Thx.
> >>
> >> Mike
> >>
> >>
> >>
>
RE: Tomcat Bandwidth Utilization Tool
Posted by Jäkel,
Guido <G....@dnb.de>.
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.
greetings
Guido
>-----Original Message-----
>From: Michael Duffy [mailto:mduffy215@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 <md...@gmail.com> wrote:
>
>> 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:
>> https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/ ,but
>> none of them specifically mention integration with Tomcat.
>>
>> At the application level, if I just measure the byte flow into and out of
>> my application, I will miss the bytes in the TCP/IP headers.
>>
>> Any suggestions would be greatly appreciated.
>>
>> Thx.
>>
>> Mike
>>
>>
>>
Re: Tomcat Bandwidth Utilization Tool
Posted by Leon Rosenberg <ro...@gmail.com>.
MoSKito (http://www.moskito.org) does visualize the stats
from GlobalRequestProcessor:
http://burgershop-hamburg.demo.moskito.org/burgershop/moskito-inspect/mskShowProducer?pProducerId=GlobalRequestProcessor
You can see the bytes sent/received from every connector.
regards
Leon
On Fri, Aug 30, 2019 at 2:36 AM Michael Duffy <md...@gmail.com> wrote:
> 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 <md...@gmail.com> wrote:
>
> > 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:
> > https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/
> ,but
> > none of them specifically mention integration with Tomcat.
> >
> > At the application level, if I just measure the byte flow into and out of
> > my application, I will miss the bytes in the TCP/IP headers.
> >
> > Any suggestions would be greatly appreciated.
> >
> > Thx.
> >
> > Mike
> >
> >
> >
>
Re: Tomcat Bandwidth Utilization Tool
Posted by Michael Duffy <md...@gmail.com>.
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 <md...@gmail.com> wrote:
> 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:
> https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/ ,but
> none of them specifically mention integration with Tomcat.
>
> At the application level, if I just measure the byte flow into and out of
> my application, I will miss the bytes in the TCP/IP headers.
>
> Any suggestions would be greatly appreciated.
>
> Thx.
>
> Mike
>
>
>
Re: Tomcat Bandwidth Utilization Tool
Posted by Michael Duffy <md...@gmail.com>.
There is a,
On Thu, Aug 29, 2019 at 7:09 PM Michael Duffy <md...@gmail.com> wrote:
> 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:
> https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/ ,but
> none of them specifically mention integration with Tomcat.
>
> At the application level, if I just measure the byte flow into and out of
> my application, I will miss the bytes in the TCP/IP headers.
>
> Any suggestions would be greatly appreciated.
>
> Thx.
>
> Mike
>
>
>
Re: Tomcat Bandwidth Utilization Tool
Posted by Michael Duffy <md...@gmail.com>.
What problem are you trying to solve?
Bandwidth requirements for a data intensive web application?
On Fri, Aug 30, 2019 at 9:22 AM calder <ca...@gmail.com> wrote:
> On Thursday, August 29, 2019, Michael Duffy <md...@gmail.com> wrote:
>
> > 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:
> > https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/
> > ,but none of them specifically mention integration with Tomcat.
> >
> > At the application level, if I just measure the byte flow into and out of
> > my application, I will miss the bytes in the TCP/IP headers.
> >
> > Any suggestions would be greatly appreciated.
> >
>
>
> What problem are you trying to solve?
>
Re: Tomcat Bandwidth Utilization Tool
Posted by calder <ca...@gmail.com>.
On Thursday, August 29, 2019, Michael Duffy <md...@gmail.com> wrote:
> 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:
> https://www.comparitech.com/net-admin/free-bandwidth-monitoring-tools/
> ,but none of them specifically mention integration with Tomcat.
>
> At the application level, if I just measure the byte flow into and out of
> my application, I will miss the bytes in the TCP/IP headers.
>
> Any suggestions would be greatly appreciated.
>
What problem are you trying to solve?