Unix Command Line Tool for Monitoring Outbound Traffic?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unix Command Line Tool for Monitoring Outbound Traffic?
I've read up some of the posts on this forum, but can't seem to find an answer. I have a web service within an Apache Tomcat instance installed on a Redhat linux server. I only have shell access to the server, and need to monitor outbound network traffic from my web service. Is there a unix command that will allow me to monitor all outbound traffic?
I'm thinking fiddler, but a unix version? I've heard of things like ntop and iptraf, but I don't think those will help me in this instance.
Well you've mentioned tools that I'd possibly have mentioned, so if you're discounting them, you should really say why you are and what you actually want to acheive. phrases like "network monitoring" are so insanely open in interpretation it can mean so many different things. What do you actually want to monitor about it? TCP/IP throughput? HTTP level data?? Live or recorded data?
Well you've mentioned tools that I'd possibly have mentioned, so if you're discounting them, you should really say why you are and what you actually want to acheive. phrases like "network monitoring" are so insanely open in interpretation it can mean so many different things. What do you actually want to monitor about it? TCP/IP throughput? HTTP level data?? Live or recorded data?
I want to monitor http level data. For example, the web service running in apache calls out to another 3rd party web service to retrieve data. I need to monitor the outgoing calls from my service to debug my web service since I have no access to the 3rd party service. I don't have much control over my QA and Production servers, so installing tools like ntop and iptraf aren't always options for me...which is why I'm wondering if there are any basic unix level commands that would give me what I need. If not, I can go to my operations team and see what options I have, but for now, I'm trying to avoid that if possible to save time and resources.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.