<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: monitoring network traffic in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503132#M562676</link>
    <description>gpm/glance is a major bloatware, even more so than ntop.  I don't need packet level, I just need to measure transfer rate per connection.  iftop does *exactly* what I need, no more no less.  I am amazed such a utility didn't exist from the beginning of unix era, it's so fundamental.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Igor&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Mar 2005 14:29:18 GMT</pubDate>
    <dc:creator>Igor Schein</dc:creator>
    <dc:date>2005-03-11T14:29:18Z</dc:date>
    <item>
      <title>monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503130#M562674</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Igor&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2005 14:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503130#M562674</guid>
      <dc:creator>Igor Schein</dc:creator>
      <dc:date>2005-03-11T14:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503131#M562675</link>
      <description>glance/gpm has a 60 day trial and can monitor network usage well.&lt;BR /&gt;&lt;BR /&gt;If you need to see the packets, consider ethereal or tcpdump.&lt;BR /&gt;&lt;BR /&gt;Part of the sar package I'm uploading monitors network traffic as well.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 11 Mar 2005 14:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503131#M562675</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-03-11T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503132#M562676</link>
      <description>gpm/glance is a major bloatware, even more so than ntop.  I don't need packet level, I just need to measure transfer rate per connection.  iftop does *exactly* what I need, no more no less.  I am amazed such a utility didn't exist from the beginning of unix era, it's so fundamental.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Igor&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2005 14:29:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503132#M562676</guid>
      <dc:creator>Igor Schein</dc:creator>
      <dc:date>2005-03-11T14:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503133#M562677</link>
      <description>#Script for chekcing lan i/p and o/p stats. &lt;BR /&gt;------------------------------------------------&lt;BR /&gt;let z=0&lt;BR /&gt;&lt;BR /&gt;let y=$(lanadmin -g mibstats 0|grep -i oct|grep Inbound|awk '{print $4}')&lt;BR /&gt;&lt;BR /&gt;let y2=$(lanadmin -g mibstats 0|grep -i oct|grep Outbound|awk '{print $4}')&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;let x=0&lt;BR /&gt;&lt;BR /&gt;sleep 1&lt;BR /&gt;&lt;BR /&gt;x=$(lanadmin -g mibstats 0|grep -i oct|grep Inbound|awk '{print $4}')&lt;BR /&gt;&lt;BR /&gt;x2=$(lanadmin -g mibstats 0|grep -i oct|grep Outbound|awk '{print $4}')&lt;BR /&gt;&lt;BR /&gt;let t=$x-$y&lt;BR /&gt;&lt;BR /&gt;let t2=$x2-$y2&lt;BR /&gt;&lt;BR /&gt;let y=$x&lt;BR /&gt;&lt;BR /&gt;let y2=$x2&lt;BR /&gt;&lt;BR /&gt;let z=$z+1&lt;BR /&gt;&lt;BR /&gt;let t=$t/1000&lt;BR /&gt;&lt;BR /&gt;let t2=$t2/1000&lt;BR /&gt;&lt;BR /&gt;echo "${t} Kb/s inbound, ${t2} Kb/s outbound"&lt;BR /&gt;&lt;BR /&gt;done  &lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2005 16:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503133#M562677</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-11T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503134#M562678</link>
      <description>Did you search the HPUX Porting Archive?&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;  &lt;BR /&gt;Look in the catalog for networking tools - I saw several there that could possibly suit your needs.</description>
      <pubDate>Fri, 11 Mar 2005 18:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503134#M562678</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-03-11T18:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503135#M562679</link>
      <description>if all else fails, parsing the advacing sequence numbers in the output of ndd /dev/tcp tcp_status could tell you for tcp at least.  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Mar 2005 12:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503135#M562679</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-03-12T12:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503136#M562680</link>
      <description>Try MRTG.  Runs on just about anything and makes pretty graphs to show your traffic in and out.  Price is right.  Free.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://people.ee.ethz.ch/~oetiker/webtools/mrtg/" target="_blank"&gt;http://people.ee.ethz.ch/~oetiker/webtools/mrtg/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Sat, 12 Mar 2005 13:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503136#M562680</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2005-03-12T13:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503137#M562681</link>
      <description>1) the script only does cumulative stats.  If I have 2 scp's running at the same time, 1 at 10KB/s and 1 at 160KB/s, I'll only see 170KB/s.  &lt;BR /&gt;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&lt;BR /&gt;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&lt;BR /&gt;4) I know MRTG is good for graphing collected data, but will it give me real time stats like iftop does?&lt;BR /&gt;&lt;BR /&gt;Thanks for all your answers.&lt;BR /&gt;&lt;BR /&gt;Igor&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 11:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503137#M562681</guid>
      <dc:creator>Igor Schein</dc:creator>
      <dc:date>2005-03-15T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503138#M562682</link>
      <description>the tcp_status output will be cumulative for each connection, but if a script were to  recall the last value and subtracts it from the current value it will give a current value.&lt;BR /&gt;&lt;BR /&gt;IIRC MRTG graphs MIB stats.  I'm not sure if there is a per-connection throughput MIB.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 12:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503138#M562682</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-03-15T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503139#M562683</link>
      <description>I need something similar too.&lt;BR /&gt;&lt;BR /&gt;I am looking ofr a tool that will tell one of two (or both) things:&lt;BR /&gt;&lt;BR /&gt;1. number of bytes transferred on current connection from given IP:port to server port.&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;&lt;BR /&gt;Is there any solution for that ?</description>
      <pubDate>Wed, 16 Mar 2005 12:30:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503139#M562683</guid>
      <dc:creator>Jacek Pliszka_2</dc:creator>
      <dc:date>2005-03-16T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring network traffic</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503140#M562684</link>
      <description>IIRC the stack does not store the time a connection is established, so the best one could do is going to be bound by the granularity of how often one checks something like netstat or ndd tcp_status.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Is the desire to see per-connection stats for  a specific reason, or is is a matter of academic interest?</description>
      <pubDate>Wed, 16 Mar 2005 12:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-network-traffic/m-p/3503140#M562684</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-03-16T12:45:20Z</dc:date>
    </item>
  </channel>
</rss>

