<?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: Calculating network statistics using C in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900570#M104789</link>
    <description>Start by reading the man page for lanadmin.  &lt;BR /&gt;&lt;BR /&gt;If you want more information than this(I.E. Packet sizes and protocals as well as bandwidth), I would recommend that you look at other software that's already working well.&lt;BR /&gt;&lt;BR /&gt;ntop is already developed(not sure about a HP-UX port though), and there are many other packages as well.  It's alot of work to re-invent the wheel.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Mon, 10 Feb 2003 14:51:34 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2003-02-10T14:51:34Z</dc:date>
    <item>
      <title>Calculating network statistics using C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900569#M104788</link>
      <description>Hi &lt;BR /&gt; I want to get  network statistics  same as we get through netstat -i command . &lt;BR /&gt;&lt;BR /&gt;Actually i want to write a C funtion which give me all the details of interface connected such as Interface name  Ipackets ,Opackets,Collision and errors&lt;BR /&gt;Is there any structure in HPUX that gives all this information ??. If it is how to get info from it ?? &lt;BR /&gt;&lt;BR /&gt;Could u please help me. &lt;BR /&gt;Thanking you in advance .&lt;BR /&gt;&lt;BR /&gt;Warm regards&lt;BR /&gt;hemant</description>
      <pubDate>Mon, 10 Feb 2003 08:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900569#M104788</guid>
      <dc:creator>Hemant_7</dc:creator>
      <dc:date>2003-02-10T08:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating network statistics using C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900570#M104789</link>
      <description>Start by reading the man page for lanadmin.  &lt;BR /&gt;&lt;BR /&gt;If you want more information than this(I.E. Packet sizes and protocals as well as bandwidth), I would recommend that you look at other software that's already working well.&lt;BR /&gt;&lt;BR /&gt;ntop is already developed(not sure about a HP-UX port though), and there are many other packages as well.  It's alot of work to re-invent the wheel.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 10 Feb 2003 14:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900570#M104789</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-02-10T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating network statistics using C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900571#M104790</link>
      <description>Hi!&lt;BR /&gt;Try this link, here is a lot of network&lt;BR /&gt;watching &amp;amp; tracing packages.&lt;BR /&gt;&lt;BR /&gt;hpux.cs.utah.edu/hppd/hpux/Networking/Admin/alpha.html&lt;BR /&gt;&lt;BR /&gt;Regards, S</description>
      <pubDate>Mon, 10 Feb 2003 15:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900571#M104790</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-10T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating network statistics using C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900572#M104791</link>
      <description>Hi&lt;BR /&gt; Thanks for the info .But still not able to find the clue. &lt;BR /&gt;&lt;BR /&gt;Does HPUX has any structure which give info about state of network interfaces such as name Ipacket Opacket collison and errors.if yes how can i use it.&lt;BR /&gt;&lt;BR /&gt;Like using kmem and then use  name list ie nlist()(_ifnet) to get all the information of network interface. Just an idea.&lt;BR /&gt;&lt;BR /&gt;Please correct me if i m wrong. &lt;BR /&gt;&lt;BR /&gt;Waiting for ur reply&lt;BR /&gt;Thanks and regards&lt;BR /&gt;hemant&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Feb 2003 03:35:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900572#M104791</guid>
      <dc:creator>Hemant_7</dc:creator>
      <dc:date>2003-02-11T03:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating network statistics using C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900573#M104792</link>
      <description>Hi hemant,&lt;BR /&gt;There are few libraries you might want to check out which gives you the best result.&lt;BR /&gt;getnetconfig this returns a structure called netconfig&lt;BR /&gt;&lt;BR /&gt;and other one is getnetent.&lt;BR /&gt;go through the man pages of them i am sure getnetconfig() will give you everything you want.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 11 Feb 2003 03:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/calculating-network-statistics-using-c/m-p/2900573#M104792</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-11T03:57:15Z</dc:date>
    </item>
  </channel>
</rss>

