<?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: Hardware Information in HP-UX (programming language: C++) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453762#M683027</link>
    <description>Thank you all for your answers! I will work off all your answers and I hope I can implement useful solutions..&lt;BR /&gt;&lt;BR /&gt;Thanks a lot! :-)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Maria&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Jul 2009 05:14:51 GMT</pubDate>
    <dc:creator>MariaS</dc:creator>
    <dc:date>2009-07-07T05:14:51Z</dc:date>
    <item>
      <title>Hardware Information in HP-UX (programming language: C++)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453758#M683023</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I hope you can help me! I need some hardware information for making my programm run on only a few computers.&lt;BR /&gt;The last week I was searching the internet for possibilities to get hardware information in HP-UX within my C++ programm. It wasn't very successful. I found a few calls, which I can use for the command line, but I wanted to avoid system calls. &lt;BR /&gt;&lt;BR /&gt;In Linux I could use the /proc folder for most information. But as far as I know, in HP-UX doesn't exist such a folder, am I right? Does anybody know how I could get access to system and hardware information otherwise? Are there any usefull libraries?&lt;BR /&gt;&lt;BR /&gt;I found already the "sys/pstat.h" library and i could use it to get the number of cpu's, but that is all ;-(&lt;BR /&gt;&lt;BR /&gt;These are the information I would need:&lt;BR /&gt;&lt;BR /&gt;- Hard disk info like the caption of it &lt;BR /&gt;- Bios: caption/manufacturer &lt;BR /&gt;- Mainboard information (the caption, too)&lt;BR /&gt;- CPU ID &lt;BR /&gt;- Video/sound card information &lt;BR /&gt;- Mac-Address (I found an example for HP-UX to use "#include sys/kinfo.h" But I couldn't use it because it doesn't exist within my HP-UX..) &lt;BR /&gt;&lt;BR /&gt;I hope you can help me, I am totally new to this operating system..&lt;BR /&gt;&lt;BR /&gt;Thank you and best regards,&lt;BR /&gt;Maria</description>
      <pubDate>Mon, 06 Jul 2009 13:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453758#M683023</guid>
      <dc:creator>MariaS</dc:creator>
      <dc:date>2009-07-06T13:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information in HP-UX (programming language: C++)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453759#M683024</link>
      <description>Shalom Maria,&lt;BR /&gt;&lt;BR /&gt;Keep in mind HP stopped selling PA-RISC servers end of last year and now sells Intel/Itanium IA64 servers.&lt;BR /&gt;&lt;BR /&gt;Here is something to look at.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://linux.softpedia.com/get/System/System-Administration/SysInfo-DC-for-HP-UX-26419.shtml" target="_blank"&gt;http://linux.softpedia.com/get/System/System-Administration/SysInfo-DC-for-HP-UX-26419.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 06 Jul 2009 13:46:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453759#M683024</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-06T13:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information in HP-UX (programming language: C++)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453760#M683025</link>
      <description>BTW, you won't find a BIOS at all in hp-ux servers, in very rare cases a video card and sometimes up to 80 MAC addresses or more ...&lt;BR /&gt;&lt;BR /&gt;The serial number would be very unique ...&lt;BR /&gt;&lt;BR /&gt;# getconf MACHINE_SERIAL</description>
      <pubDate>Mon, 06 Jul 2009 13:58:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453760#M683025</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-07-06T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information in HP-UX (programming language: C++)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453761#M683026</link>
      <description>Hi Maria:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I found a few calls, which I can use for the command line, but I wanted to avoid system calls.&lt;BR /&gt;&lt;BR /&gt;You aren't going to avoid system calls :-)  Command-line commands or a C/C++/Perl programs are still going to rely on underlying system and library interfaces.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; In Linux I could use the /proc folder for most information. But as far as I know, in HP-UX doesn't exist such a folder, am I right? &lt;BR /&gt;&lt;BR /&gt;That's correct.  HP-UX does not have a '/proc' filesystem.&lt;BR /&gt;&lt;BR /&gt;You can use system and library calls like 'sysconf(2)' and 'confstr(3C)' to fetch various machine properties.  The manpages for these will guide you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60130/index.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60130/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Jul 2009 14:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453761#M683026</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-06T14:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information in HP-UX (programming language: C++)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453762#M683027</link>
      <description>Thank you all for your answers! I will work off all your answers and I hope I can implement useful solutions..&lt;BR /&gt;&lt;BR /&gt;Thanks a lot! :-)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Maria&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jul 2009 05:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453762#M683027</guid>
      <dc:creator>MariaS</dc:creator>
      <dc:date>2009-07-07T05:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hardware Information in HP-UX (programming language: C++)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453763#M683028</link>
      <description>Hi Maria:&lt;BR /&gt;&lt;BR /&gt;If you are satistied with the answers you have received, please read:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Assigning points is both a way of saying "thank you" and a way of showing future readers of your thread what helped you solve your problem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 07 Jul 2009 18:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hardware-information-in-hp-ux-programming-language-c/m-p/4453763#M683028</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-07T18:54:44Z</dc:date>
    </item>
  </channel>
</rss>

