<?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 statistics in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947537#M555283</link>
    <description>You can try using # netstat -in, it gives some information like Incoming, outgoing packets.. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=144903" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=144903&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Mon, 19 Dec 2005 03:29:38 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2005-12-19T03:29:38Z</dc:date>
    <item>
      <title>lan statistics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947535#M555281</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I need to get lan interface statistics. I've seen sam and netadmin can help me, but they are interactive applications and I want a script executes command automatically for a short period of time.&lt;BR /&gt;&lt;BR /&gt;Is there any command to get statistics from lan interface?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your reply.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Mon, 19 Dec 2005 03:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947535#M555281</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-12-19T03:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: lan statistics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947536#M555282</link>
      <description>lanadmin -g. I used following script in the past.&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>Mon, 19 Dec 2005 03:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947536#M555282</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-19T03:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: lan statistics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947537#M555283</link>
      <description>You can try using # netstat -in, it gives some information like Incoming, outgoing packets.. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=144903" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=144903&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 19 Dec 2005 03:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947537#M555283</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-19T03:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: lan statistics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947538#M555284</link>
      <description>Shouldn't that be netstat -s&lt;BR /&gt;(netstat -in give the routing table :)&lt;BR /&gt;&lt;BR /&gt;Lanadmin -g is a good way, but my favourite&lt;BR /&gt;(a bit more tedious and techy) is still&lt;BR /&gt;nettl  (network tracing tool)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.om/en/B2355-90692/nettl.1M.html" target="_blank"&gt;http://docs.hp.om/en/B2355-90692/nettl.1M.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2005 04:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947538#M555284</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-12-19T04:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: lan statistics</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947539#M555285</link>
      <description>That's the command I was looking for.&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Mon, 19 Dec 2005 04:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lan-statistics/m-p/4947539#M555285</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-12-19T04:10:44Z</dc:date>
    </item>
  </channel>
</rss>

