LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2014, 10:01 AM   #1
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Question Application Latency Statistics from tcpdump?


Hi All,

I'm interested in building something simple with tcpdump that I could use on occasions to plot application latency against several external memcached servers.

IE - I have a webserver connecting to several different/unrelated memcached servers (and I have no access to the memcached servers). I don't want to change the code that's running on the web server making calls to the memcached servers, but I still want to get statistics for the speed of requests from the webserver to memcached.

I think a good way to do this might be by running a tcpdump for a short period of time capturing the packets between webserver and the external memcached boxes (so essentially just capturing packets on the 11211 port for memcache). I'd like to use that data to then graph stats such as the duration of each request.

I've been looking into wireshark, tcpstat, tcptrace, pt-tcp-model xplot. I'm still not yet sure any of these can do what I'm after.

Any guidance would be great,
Thanks,
M
 
Old 08-23-2014, 08:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Have a look at tsharks read filter "tcp.analysis.ack_rtt".

*It would be helpful to next time explain 0) why you would not want to change the code that's running on the web server making calls to the memcached servers or 1) why you have not requested either access to the memcached servers or 2) why you have not requested them to provide a restricted access read-only interface for reading stats (better).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to store the statistics of a tcpdump command to a file omega341991 Linux - Newbie 4 05-17-2012 05:42 AM
how to store the statistics of a tcpdump command to a file omega341991 Linux - Networking 1 05-17-2012 04:03 AM
how to store the statistics of a tcpdump command to a file omega341991 Linux - Wireless Networking 1 05-17-2012 04:02 AM
Application usage statistics vladmihaisima General 2 01-04-2008 11:10 AM
Linux Application Statistics kushalag Linux - General 6 08-02-2007 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration