<?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: LAN traffic load in byte in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139130#M540724</link>
    <description>&lt;!--!*#--&gt;You don't require any extra software.&lt;BR /&gt;You can just use hpux's standard lanadmin command and query the mibstats for the relevant NIC.&lt;BR /&gt;E.g. here on this box I took 2 samples from lan0 within 10 secs.&lt;BR /&gt;So to get rates one only needs to divide the diffs by the sampling intervals to approximately get the first derivative.&lt;BR /&gt;As these are octets you only need to multiply &lt;BR /&gt;by 8 and divide by 1000 to get measures in kbps.&lt;BR /&gt;This gives roughly 10 Mbps of outbound traffic during this interval.&lt;BR /&gt;&lt;BR /&gt;$ i=0;while (($((i+=1))&amp;lt;=2));do /usr/sbin/lanadmin -g mibstats 0|grep -E '(In|Out)bound Octets';sleep 10;done       &lt;BR /&gt;Inbound Octets                  = 1895977889&lt;BR /&gt;Outbound Octets                 = 3452238482&lt;BR /&gt;Inbound Octets                  = 1902112099&lt;BR /&gt;Outbound Octets                 = 3464719953&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ echo '(3464719953-3452238482)*8/10/1000'|bc -l&lt;BR /&gt;9985.17680000000000000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Feb 2008 16:55:27 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2008-02-04T16:55:27Z</dc:date>
    <item>
      <title>LAN traffic load in byte</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139128#M540722</link>
      <description>Hi.&lt;BR /&gt;I need to measure the server LAN traffic load in byte for daily or weekly.  Is there anyway that I can read this traffic statistics from HP-UX?  Or, do I need a special software or appliance to measture this?&lt;BR /&gt;&lt;BR /&gt;Please advice.&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 01 Feb 2008 16:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139128#M540722</guid>
      <dc:creator>Jun H. Lee</dc:creator>
      <dc:date>2008-02-01T16:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: LAN traffic load in byte</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139129#M540723</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;You can do it in many ways.&lt;BR /&gt;&lt;BR /&gt;The simplest one is to use:&lt;BR /&gt;&lt;BR /&gt;netstat -in&lt;BR /&gt;&lt;BR /&gt;Here is an example for HP-UX 11.1:&lt;BR /&gt;&lt;BR /&gt;Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll&lt;BR /&gt;lan0      1500 15.170.178.0    15.170.178.191  11275129           0     12984016           0     0   &lt;BR /&gt;lo0      32808 127.0.0.0       127.0.0.1       2854459            0     2854459            0     0   &lt;BR /&gt;&lt;BR /&gt;It will report traffic in each interface.&lt;BR /&gt;You an create a cron job and summarize&lt;BR /&gt;reports any way you like.&lt;BR /&gt;&lt;BR /&gt;Or, you can use more comprehensive tools&lt;BR /&gt;like OpenView, other SNMP-based solutions,&lt;BR /&gt;tcpdump(1), and so on.&lt;BR /&gt;&lt;BR /&gt;Since your requirement is simple, just&lt;BR /&gt;use netstat(1).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT &lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2008 22:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139129#M540723</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-02-01T22:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: LAN traffic load in byte</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139130#M540724</link>
      <description>&lt;!--!*#--&gt;You don't require any extra software.&lt;BR /&gt;You can just use hpux's standard lanadmin command and query the mibstats for the relevant NIC.&lt;BR /&gt;E.g. here on this box I took 2 samples from lan0 within 10 secs.&lt;BR /&gt;So to get rates one only needs to divide the diffs by the sampling intervals to approximately get the first derivative.&lt;BR /&gt;As these are octets you only need to multiply &lt;BR /&gt;by 8 and divide by 1000 to get measures in kbps.&lt;BR /&gt;This gives roughly 10 Mbps of outbound traffic during this interval.&lt;BR /&gt;&lt;BR /&gt;$ i=0;while (($((i+=1))&amp;lt;=2));do /usr/sbin/lanadmin -g mibstats 0|grep -E '(In|Out)bound Octets';sleep 10;done       &lt;BR /&gt;Inbound Octets                  = 1895977889&lt;BR /&gt;Outbound Octets                 = 3452238482&lt;BR /&gt;Inbound Octets                  = 1902112099&lt;BR /&gt;Outbound Octets                 = 3464719953&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ echo '(3464719953-3452238482)*8/10/1000'|bc -l&lt;BR /&gt;9985.17680000000000000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Feb 2008 16:55:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-traffic-load-in-byte/m-p/4139130#M540724</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-02-04T16:55:27Z</dc:date>
    </item>
  </channel>
</rss>

