- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- monitoring network traffic
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-11-2005 06:17 AM
тАО03-11-2005 06:17 AM
monitoring network traffic
what's the best way to monitor bandwidth usage by connection on HPUX? My favorite tool is iftop, but it's not easily portable to HPUX. iptraf would also be sufficient, but it's intrinsically Linux. ntop is a possibility, but it was very bloated last time I checked, and I don't know how easily it can be ported to HPUX.
Thanks
Igor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2005 06:24 AM
тАО03-11-2005 06:24 AM
Re: monitoring network traffic
If you need to see the packets, consider ethereal or tcpdump.
Part of the sar package I'm uploading monitors network traffic as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2005 06:29 AM
тАО03-11-2005 06:29 AM
Re: monitoring network traffic
Thanks
Igor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2005 08:01 AM
тАО03-11-2005 08:01 AM
Re: monitoring network traffic
------------------------------------------------
let z=0
let y=$(lanadmin -g mibstats 0|grep -i oct|grep Inbound|awk '{print $4}')
let y2=$(lanadmin -g mibstats 0|grep -i oct|grep Outbound|awk '{print $4}')
while true
do
let x=0
sleep 1
x=$(lanadmin -g mibstats 0|grep -i oct|grep Inbound|awk '{print $4}')
x2=$(lanadmin -g mibstats 0|grep -i oct|grep Outbound|awk '{print $4}')
let t=$x-$y
let t2=$x2-$y2
let y=$x
let y2=$x2
let z=$z+1
let t=$t/1000
let t2=$t2/1000
echo "${t} Kb/s inbound, ${t2} Kb/s outbound"
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2005 10:07 AM
тАО03-11-2005 10:07 AM
Re: monitoring network traffic
http://hpux.cs.utah.edu/
Look in the catalog for networking tools - I saw several there that could possibly suit your needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2005 04:15 AM
тАО03-12-2005 04:15 AM
Re: monitoring network traffic
that there is no such tool in the base HP-UX os would seem to suggest it is not yet considered fundamental in the HP-UX space. however, if folks want that functionality, by all means excercise the support contact(s) and submit enhancement requests - that is the best way to make the desires known.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2005 05:38 AM
тАО03-12-2005 05:38 AM
Re: monitoring network traffic
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2005 03:10 AM
тАО03-15-2005 03:10 AM
Re: monitoring network traffic
2) It's a good idea to call HP support and submit an RFE. It'll be a great community service if they do come up with something, say, in 2 years from now, and I'll do that anyway, but I don't expect anything for me short term
3) I've been using HPUX depot archive for 10 years now. I know for a fact there's no software there which would suit my needs, but if I missed something, I'd greatly appreciate the actual program name
4) I know MRTG is good for graphing collected data, but will it give me real time stats like iftop does?
Thanks for all your answers.
Igor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2005 04:42 AM
тАО03-15-2005 04:42 AM
Re: monitoring network traffic
IIRC MRTG graphs MIB stats. I'm not sure if there is a per-connection throughput MIB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2005 04:30 AM
тАО03-16-2005 04:30 AM
Re: monitoring network traffic
I am looking ofr a tool that will tell one of two (or both) things:
1. number of bytes transferred on current connection from given IP:port to server port.
2. time when given connection started - more precisely I have several servers and client makes connections to all of them and I want to find out which connection was the first one
Is there any solution for that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2005 04:45 AM
тАО03-16-2005 04:45 AM
Re: monitoring network traffic
One _might_ make inferences as to which connection was first based on the client port number - if the client leaves port number selection to the transport then _generally_ the connection with the lower port number was established before the connection with the higher port number. Of course, if connectoin establishment and teardown is particularly chaotic this may not always work, but is no worse than guessing when one notices two or more connections for the first time.
The more "iron-clad" way to go about something like this would be to create a Streams module that sat above all the drivers, watching traffic and storing away stats. It would though have some non-trivial overhead.
I've no idea if it does it, but ipfilter is such a module for HP-UX - in that it can be pushed on top of all the interfaces on a system.
Is the desire to see per-connection stats for a specific reason, or is is a matter of academic interest?