<?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: C Program to Check Network Interfaces in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747825#M257237</link>
    <description>Netstat dont show collision. USe lanadmin or landiag for this.&lt;BR /&gt;&lt;BR /&gt;You can use snmp for acomplish this task.&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://www.net-snmp.org" target="_blank"&gt;http://www.net-snmp.org&lt;/A&gt; for more information.&lt;BR /&gt;&lt;BR /&gt;Using a mib browser is possible find wich attributes you need.&lt;BR /&gt;&lt;BR /&gt;Schimidt</description>
    <pubDate>Thu, 09 Mar 2006 11:40:15 GMT</pubDate>
    <dc:creator>Carlos Roberto Schimidt</dc:creator>
    <dc:date>2006-03-09T11:40:15Z</dc:date>
    <item>
      <title>C Program to Check Network Interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747822#M257234</link>
      <description>I am writing a C program to get some various system information counters on HP-UX 11.11 and 11.23.  I have gotten most of what I need from the pstat family of functions, but the one thing that I am unable to figure out is the ethernet card information.  I want to be able to see the same type of information that is output in with a netstat -ai (collisions, in/out packets, and errors).  I've searched the forums and from what I've seen, it sounds like HP is not documenting how to do this directly.  Is this still the case?  I've tusc'd a netstat -ai command and it looks /dev/dlpi is being opened and some STREAMs-based stuff is going on, ie putmsg() and getmsg(), along with a couple of ioctl()'s. &lt;BR /&gt;&lt;BR /&gt;Is it possible to get this information directly rather than exec()'ing netstat?</description>
      <pubDate>Thu, 09 Mar 2006 09:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747822#M257234</guid>
      <dc:creator>Greg Wojtak_1</dc:creator>
      <dc:date>2006-03-09T09:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: C Program to Check Network Interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747823#M257235</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;never tried it but&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search on network and see if you can find an example you can use&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Thu, 09 Mar 2006 10:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747823#M257235</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2006-03-09T10:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: C Program to Check Network Interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747824#M257236</link>
      <description>Can you tell if netstat is using /usr/conf/h/io.h?  Seems to be quite a few clues in there if it applies.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Thu, 09 Mar 2006 11:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747824#M257236</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2006-03-09T11:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: C Program to Check Network Interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747825#M257237</link>
      <description>Netstat dont show collision. USe lanadmin or landiag for this.&lt;BR /&gt;&lt;BR /&gt;You can use snmp for acomplish this task.&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://www.net-snmp.org" target="_blank"&gt;http://www.net-snmp.org&lt;/A&gt; for more information.&lt;BR /&gt;&lt;BR /&gt;Using a mib browser is possible find wich attributes you need.&lt;BR /&gt;&lt;BR /&gt;Schimidt</description>
      <pubDate>Thu, 09 Mar 2006 11:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-program-to-check-network-interfaces/m-p/3747825#M257237</guid>
      <dc:creator>Carlos Roberto Schimidt</dc:creator>
      <dc:date>2006-03-09T11:40:15Z</dc:date>
    </item>
  </channel>
</rss>

