- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monotoring just one specific port number
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 08:54 PM
02-19-2004 08:54 PM
I need to monitor network traffic on a specific port number (Apache using mod_gzip).
What option do I have to do so ?
Thanks for your help,
Nicolas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 09:20 PM
02-19-2004 09:20 PM
Re: Monotoring just one specific port number
Or, if you only want to see what connections are in use, you could use netstat or lsof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 09:56 PM
02-19-2004 09:56 PM
Re: Monotoring just one specific port number
What tool would you use to deal with tcpdump output ?
Wouldn't it be possible to use some kind of sniffer to get directly some humane readble output ?
Again, thanks for you advices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 10:09 PM
02-19-2004 10:09 PM
Re: Monotoring just one specific port number
tcpdump is a kind of sniffer. I don't think you need to set the card in promiscuous mode if you run the tcpdump on the apache server.
When defining the right parameters, you get only the info you want and not anything else. If you still get too much, awk, grep or perl are tools to filter out the information you want, I guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 11:16 PM
02-19-2004 11:16 PM
Re: Monotoring just one specific port number
netstat my help u to monitor the port
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 11:57 PM
02-19-2004 11:57 PM
SolutionYou can capture the traffic with the HP network tracer nettl.
For what you need I think ethereal is your best option, unless you have a sniffer.
For 11.11 HP Packages ethereal with the libraries you need in the Internet Express software package version 2.
You can download that here:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
For other opertaing system versions you can get it at www.ethereal.com it has several library dependencies.
Its gui based similar to netmon if you have ever used that.
What you would want to do is set up a capture filter and file then start capturing data on your interface. You will want to change the capture options to
capture packets in promiscuous mode
Update list of packets in real time
Automatic scrolling in live capture
The filter would be something like this.
tcp.port == 80
That equals tcp source or destination port 80 is present. Figure out which port you need to capture and if its TCP or UDP or both. Then set up your filter file and save it. You can reference saved filters when you start the capture.
more info at www.ethereal.com
You can get tcpdump here
http://gatekeep.cs.utah.edu/hppd/cgi-bin/search
Hope that helps,
Todd